Set initial window size to 1280x1024 for now

This will be configurable when calling `Application::run` in the future.
This commit is contained in:
Héctor Ramón Jiménez 2019-10-23 04:44:33 +02:00
parent f6fc0b714c
commit 99e1a3780a

View file

@ -26,6 +26,10 @@ pub trait Application {
// TODO: Ask for window settings and configure this properly
let window = WindowBuilder::new()
.with_inner_size(winit::dpi::LogicalSize {
width: 1280.0,
height: 1024.0,
})
.build(&event_loop)
.expect("Open window");