mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Use dbg!()
macro in monitor list example (#931)
This commit is contained in:
parent
f879bca21c
commit
c661006683
|
@ -5,5 +5,7 @@ use winit::window::WindowBuilder;
|
|||
fn main() {
|
||||
let event_loop = EventLoop::new();
|
||||
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…
Reference in a new issue