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/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/window.rs') diff --git a/examples/window.rs b/examples/window.rs index f686a51..8204b95 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -19,7 +19,7 @@ fn resize_callback(width: u32, height: u32) { #[cfg(feature = "window")] fn main() { - let mut window = glutin::WindowBuilder::new().with_gl_profile(glutin::GlProfile::Compatibility).build().unwrap(); + let mut window = glutin::WindowBuilder::new().build().unwrap(); window.set_title("A fantastic window!"); window.set_window_resize_callback(Some(resize_callback as fn(u32, u32))); unsafe { window.make_current() }; -- cgit v1.2.3