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
Add a link
Reference in a new issue