mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix: Invalid fields in libservo InitOptions
This commit is contained in:
parent
4e61168d68
commit
644a6089b3
1 changed files with 1 additions and 3 deletions
|
@ -170,14 +170,12 @@ pub unsafe extern "C" fn init_servo(
|
||||||
|
|
||||||
let opts = InitOptions {
|
let opts = InitOptions {
|
||||||
args,
|
args,
|
||||||
url: Some(url.to_string()),
|
|
||||||
density: hidpi,
|
density: hidpi,
|
||||||
enable_subpixel_text_antialiasing: false,
|
|
||||||
vr_init,
|
|
||||||
xr_discovery,
|
xr_discovery,
|
||||||
coordinates,
|
coordinates,
|
||||||
gl_context_pointer: Some(ctxt),
|
gl_context_pointer: Some(ctxt),
|
||||||
native_display_pointer: Some(disp),
|
native_display_pointer: Some(disp),
|
||||||
|
..Default::default()
|
||||||
};
|
};
|
||||||
let wakeup = Box::new(EventLoopWakerInstance);
|
let wakeup = Box::new(EventLoopWakerInstance);
|
||||||
let shut_down_complete = Rc::new(Cell::new(false));
|
let shut_down_complete = Rc::new(Cell::new(false));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue