From 9261408cc8d2ba54ddea0c9ddd43560e03d45bdc Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 5 Aug 2015 22:31:34 +0200 Subject: Use modern GL code for the examples --- examples/grabbing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/grabbing.rs') diff --git a/examples/grabbing.rs b/examples/grabbing.rs index a0a8fda..0572686 100644 --- a/examples/grabbing.rs +++ b/examples/grabbing.rs @@ -16,7 +16,7 @@ fn main() { println!("This example requires glutin to be compiled with the `wind #[cfg(feature = "window")] fn main() { - let window = glutin::WindowBuilder::new().with_gl_profile(glutin::GlProfile::Compatibility).build().unwrap(); + let window = glutin::WindowBuilder::new().build().unwrap(); window.set_title("glutin - Cursor grabbing test"); unsafe { window.make_current() }; -- cgit v1.2.3