mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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 {
|
||||
args,
|
||||
url: Some(url.to_string()),
|
||||
density: hidpi,
|
||||
enable_subpixel_text_antialiasing: false,
|
||||
vr_init,
|
||||
xr_discovery,
|
||||
coordinates,
|
||||
gl_context_pointer: Some(ctxt),
|
||||
native_display_pointer: Some(disp),
|
||||
..Default::default()
|
||||
};
|
||||
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