use macroquad::prelude::*; fn window_conf() -> Conf { Conf { window_title: "Window Conf".to_owned(), fullscreen: true, platform: miniquad::conf::Platform { linux_backend: miniquad::conf::LinuxBackend::WaylandOnly, ..Default::default() }, ..Default::default() } } #[macroquad::main(window_conf)] async fn main() { loop { clear_background(WHITE); next_frame().await } }