From a8fef35dbf320448ba53af77bd8025be5022d9f4 Mon Sep 17 00:00:00 2001 From: Felix Kaaman Date: Mon, 15 Jun 2015 23:28:29 +0200 Subject: Make legacy functions crash on osx core contexts --- examples/fullscreen.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/fullscreen.rs') diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs index d64224b..246a162 100644 --- a/examples/fullscreen.rs +++ b/examples/fullscreen.rs @@ -35,6 +35,7 @@ fn main() { }; let window = glutin::WindowBuilder::new() + .with_gl_profile(glutin::GlProfile::Compatibility) .with_title("Hello world!".to_string()) .with_fullscreen(monitor) .build() -- cgit v1.2.3