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/transparent.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/transparent.rs') diff --git a/examples/transparent.rs b/examples/transparent.rs index fa6a8de..7635b3f 100644 --- a/examples/transparent.rs +++ b/examples/transparent.rs @@ -19,8 +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) - .with_decorations(false) + let mut window = glutin::WindowBuilder::new().with_decorations(false) .with_transparency(true) .build().unwrap(); window.set_title("A fantastic window!"); -- cgit v1.2.3