From 72422f40e84916eb09d290dc032a9e46540aa239 Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Thu, 1 Oct 2015 09:51:37 +0200 Subject: [PATCH] enable vsync on osx --- ports/glutin/window.rs | 1 + 1 file changed, 1 insertion(+) 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)