DPI for everyone (#548)

This commit is contained in:
Francesca Frangipane
2018-06-14 19:42:18 -04:00
committed by GitHub
parent f083dae328
commit 1b74822cfc
41 changed files with 3096 additions and 1663 deletions

View File

@@ -7,7 +7,7 @@ fn main() {
let window = winit::WindowBuilder::new()
.with_title("Hit space to toggle resizability.")
.with_dimensions(400, 200)
.with_dimensions((400, 200).into())
.with_resizable(resizable)
.build(&events_loop)
.unwrap();