Auto merge of #7812 - paulrouget:vsyncOsx, r=glennw

enable vsync on osx

fixes https://github.com/servo/servo/issues/7783

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7812)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-01 02:08:34 -06:00
commit fd66620602

View file

@ -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)