Set rayon thread pool size to be 2 in magicleap demo
This commit is contained in:
parent
dd0283d848
commit
daeee1305c
|
@ -38,6 +38,7 @@ pub extern "C" fn magicleap_pathfinder_demo(egl_display: EGLDisplay, egl_context
|
|||
options.ui = false;
|
||||
options.background = Background::None;
|
||||
options.mode = Mode::VR;
|
||||
options.jobs = Some(2);
|
||||
|
||||
let mut app = DemoApp::new(window, window_size, options);
|
||||
debug!("Initialized app");
|
||||
|
|
Loading…
Reference in New Issue