aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/fullscreen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs
index 80e6089..e5f8fd4 100644
--- a/examples/fullscreen.rs
+++ b/examples/fullscreen.rs
@@ -23,7 +23,7 @@ fn main() {
let window = init::WindowBuilder::new()
.with_title("Hello world!".to_string())
- .with_monitor(monitor)
+ .with_fullscreen(monitor)
.build()
.unwrap();