aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports/glutin/window.rs1
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)