mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #29771 - michaelgrigoryan25:libmlservo#29768, r=jdm
Fix #29768 <!-- Please describe your changes on the following line: --> Fixes #29768. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #29768 (GitHub issue number if applicable) <!-- Either: --> <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
a4f936cd72
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