Make the window maximized by default
This commit is contained in:
+3
-1
@@ -39,7 +39,9 @@ const BIOMES: [&str; BIOMES_NUMBER] = [
|
|||||||
fn main() {
|
fn main() {
|
||||||
// building the display, ie. the main object
|
// building the display, ie. the main object
|
||||||
let event_loop = glutin::event_loop::EventLoop::new();
|
let event_loop = glutin::event_loop::EventLoop::new();
|
||||||
let wb = glutin::window::WindowBuilder::new().with_title("LemnosLife");
|
let wb = glutin::window::WindowBuilder::new()
|
||||||
|
.with_title("LemnosLife")
|
||||||
|
.with_maximized(true);
|
||||||
let cb = glutin::ContextBuilder::new().with_depth_buffer(24);
|
let cb = glutin::ContextBuilder::new().with_depth_buffer(24);
|
||||||
let display = glium::Display::new(wb, cb, &event_loop).unwrap();
|
let display = glium::Display::new(wb, cb, &event_loop).unwrap();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user