aboutsummaryrefslogtreecommitdiffstats
path: root/examples/grabbing.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-08-05 22:31:34 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-08-05 22:31:34 +0200
commit9261408cc8d2ba54ddea0c9ddd43560e03d45bdc (patch)
tree2bff5561c356314da706d0da81d8c7e08b5c2b4e /examples/grabbing.rs
parent4ab83a23e5d15ac4372ad24cc88f1c970099efc7 (diff)
downloadglutin-9261408cc8d2ba54ddea0c9ddd43560e03d45bdc.tar.gz
glutin-9261408cc8d2ba54ddea0c9ddd43560e03d45bdc.zip
Use modern GL code for the examples
Diffstat (limited to 'examples/grabbing.rs')
-rw-r--r--examples/grabbing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/grabbing.rs b/examples/grabbing.rs
index a0a8fda..0572686 100644
--- a/examples/grabbing.rs
+++ b/examples/grabbing.rs
@@ -16,7 +16,7 @@ fn main() { println!("This example requires glutin to be compiled with the `wind
#[cfg(feature = "window")]
fn main() {
- let window = glutin::WindowBuilder::new().with_gl_profile(glutin::GlProfile::Compatibility).build().unwrap();
+ let window = glutin::WindowBuilder::new().build().unwrap();
window.set_title("glutin - Cursor grabbing test");
unsafe { window.make_current() };