diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-08-07 22:55:54 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-08-07 22:55:54 +0200 |
commit | e90f377b9fbab23a140029e71ef57933b266c473 (patch) | |
tree | d2bed381d044db5412dbf965c8a4ae17585ff391 /examples/transparent.rs | |
parent | 90e62083d686ed9c878beb348e9b54853242eab0 (diff) | |
parent | 9261408cc8d2ba54ddea0c9ddd43560e03d45bdc (diff) | |
download | glutin-e90f377b9fbab23a140029e71ef57933b266c473.tar.gz glutin-e90f377b9fbab23a140029e71ef57933b266c473.zip |
Merge pull request #565 from tomaka/correct-example
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!"); |