mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-02-24 00:37:43 +11:00
Use dbg!()
macro in monitor list example (#931)
This commit is contained in:
parent
f879bca21c
commit
c661006683
1 changed files with 3 additions and 1 deletions
|
@ -5,5 +5,7 @@ use winit::window::WindowBuilder;
|
||||||
fn main() {
|
fn main() {
|
||||||
let event_loop = EventLoop::new();
|
let event_loop = EventLoop::new();
|
||||||
let window = WindowBuilder::new().build(&event_loop).unwrap();
|
let window = WindowBuilder::new().build(&event_loop).unwrap();
|
||||||
println!("{:#?}\nPrimary: {:#?}", window.available_monitors(), window.primary_monitor());
|
|
||||||
|
dbg!(window.available_monitors());
|
||||||
|
dbg!(window.primary_monitor());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue