aboutsummaryrefslogtreecommitdiffstats
path: root/examples/grabbing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/grabbing.rs')
-rw-r--r--examples/grabbing.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/grabbing.rs b/examples/grabbing.rs
index f6cef73..4b12b02 100644
--- a/examples/grabbing.rs
+++ b/examples/grabbing.rs
@@ -11,10 +11,6 @@ mod support;
#[cfg(target_os = "android")]
android_start!(main);
-#[cfg(not(feature = "window"))]
-fn main() { println!("This example requires glutin to be compiled with the `window` feature"); }
-
-#[cfg(feature = "window")]
fn main() {
let window = glutin::WindowBuilder::new().build().unwrap();
window.set_title("glutin - Cursor grabbing test");