Use EGL context and display parameters when initializing magicleap servo

This commit is contained in:
Alan Jeffrey 2019-09-18 12:48:07 -05:00
parent 8bc8981ae5
commit d1c3ddddd3

View file

@ -173,8 +173,8 @@ pub unsafe extern "C" fn init_servo(
vr_init,
xr_discovery,
coordinates,
gl_context_pointer: Some(gl.gl_context),
native_display_pointer: Some(gl.display),
gl_context_pointer: Some(ctxt),
native_display_pointer: Some(disp),
};
let wakeup = Box::new(EventLoopWakerInstance);
let shut_down_complete = Rc::new(Cell::new(false));