diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-08-05 22:31:34 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-08-05 22:31:34 +0200 |
commit | 9261408cc8d2ba54ddea0c9ddd43560e03d45bdc (patch) | |
tree | 2bff5561c356314da706d0da81d8c7e08b5c2b4e /examples/transparent.rs | |
parent | 4ab83a23e5d15ac4372ad24cc88f1c970099efc7 (diff) | |
download | glutin-9261408cc8d2ba54ddea0c9ddd43560e03d45bdc.tar.gz glutin-9261408cc8d2ba54ddea0c9ddd43560e03d45bdc.zip |
Use modern GL code for the examples
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!"); |