mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
enable vsync on osx
This commit is contained in:
parent
a7743052ca
commit
72422f40e8
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ impl Window {
|
|||
let mut glutin_window = glutin::WindowBuilder::new()
|
||||
.with_title("Servo".to_string())
|
||||
.with_decorations(!opts::get().no_native_titlebar)
|
||||
.with_vsync()
|
||||
.with_dimensions(window_size.to_untyped().width, window_size.to_untyped().height)
|
||||
.with_gl(Window::gl_version())
|
||||
.with_visibility(is_foreground)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue