From bfd8bebfd474bc857da62eca1c600909f065c4bf Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sun, 7 Jan 2024 21:11:12 +0000 Subject: [PATCH] Full screen... no cursor --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 3fbf763..39eade7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,6 +25,11 @@ fn main() { title: "TRD2024 - Orcombe Point edition".to_string(), resolution: (1920.0, 1080.0).into(), present_mode: window::PresentMode::AutoVsync, + mode: window::WindowMode::BorderlessFullscreen, + cursor: window::Cursor { + visible: false, + ..default() + }, ..default() }), ..default()