aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/window.rs b/examples/window.rs
index 769712a..c6051d3 100644
--- a/examples/window.rs
+++ b/examples/window.rs
@@ -18,6 +18,7 @@ fn main() { println!("This example requires glutin to be compiled with the `wind
#[cfg(feature = "window")]
fn main() {
let window = glutin::Window::new().unwrap();
+ window.set_title("A fantastic window!");
unsafe { window.make_current() };