Set rayon thread pool size to be 2 in magicleap demo

This commit is contained in:
Alan Jeffrey 2019-03-27 11:36:16 -05:00 committed by Josh Matthews
parent dd0283d848
commit daeee1305c
1 changed files with 1 additions and 0 deletions

View File

@ -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");