mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use EGL context and display parameters when initializing magicleap servo
This commit is contained in:
parent
8bc8981ae5
commit
d1c3ddddd3
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue