Set initial window size to 1280x1024 for now
This will be configurable when calling `Application::run` in the future.
This commit is contained in:
parent
f6fc0b714c
commit
99e1a3780a
1 changed files with 4 additions and 0 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue