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.ui = false;
|
||||||
options.background = Background::None;
|
options.background = Background::None;
|
||||||
options.mode = Mode::VR;
|
options.mode = Mode::VR;
|
||||||
|
options.jobs = Some(2);
|
||||||
|
|
||||||
let mut app = DemoApp::new(window, window_size, options);
|
let mut app = DemoApp::new(window, window_size, options);
|
||||||
debug!("Initialized app");
|
debug!("Initialized app");
|
||||||
|
|
Loading…
Reference in New Issue