aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-06-16 08:52:25 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-06-16 08:52:25 +0200
commit5e8271dad0a56697f0729c094dfe29cab302460b (patch)
tree07901f0a48dc1426d034bbb39dfed100cc3e7a40 /examples
parenta0e29d9410181368eee1e0b6db1bbbf11abf45f8 (diff)
parentb2c2f300dce0b874efee4c328629ff9c2316c056 (diff)
downloadglutin-5e8271dad0a56697f0729c094dfe29cab302460b.tar.gz
glutin-5e8271dad0a56697f0729c094dfe29cab302460b.zip
Merge pull request #483 from robertknight/rob-precise_scroll_deltas
Specify scroll deltas as either line or pixel-based
Diffstat (limited to 'examples')
-rw-r--r--examples/cursor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cursor.rs b/examples/cursor.rs
index 0dced66..d3beb84 100644
--- a/examples/cursor.rs
+++ b/examples/cursor.rs
@@ -17,7 +17,7 @@ fn main() { println!("This example requires glutin to be compiled with the `wind
#[cfg(feature = "window")]
fn main() {
- let mut window = glutin::Window::new().unwrap();
+ let window = glutin::Window::new().unwrap();
window.set_title("A fantastic window!");
unsafe { window.make_current() };