diff options
Diffstat (limited to 'examples/transparent.rs')
-rw-r--r-- | examples/transparent.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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!"); |