diff options
author | Paul Rouget <me@paulrouget.com> | 2015-10-01 09:51:37 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2015-10-01 09:51:37 +0200 |
commit | 72422f40e84916eb09d290dc032a9e46540aa239 (patch) | |
tree | f00607ee10469b1afef60440221ca0d75fc8533e | |
parent | a7743052cad0387733c90940fa91733ede32772c (diff) | |
download | servo-72422f40e84916eb09d290dc032a9e46540aa239.tar.gz servo-72422f40e84916eb09d290dc032a9e46540aa239.zip |
enable vsync on osx
-rw-r--r-- | ports/glutin/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index 31d335a99f6..d82c129e420 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -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) |