Skip to content
Permalink
Browse files

Use EGL context and display parameters when initializing magicleap servo

  • Loading branch information...
asajeffrey committed Sep 18, 2019
1 parent 8bc8981 commit d1c3ddddd39f90a8a253a76f40b48d4d97dceec8
Showing with 2 additions and 2 deletions.
  1. +2 −2 ports/libmlservo/src/lib.rs
@@ -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));

0 comments on commit d1c3ddd

Please sign in to comment.
You can’t perform that action at this time.