Add window title

This commit is contained in:
2022-10-22 23:18:11 +02:00
parent e102332d0b
commit fc8c713067
+1 -1
View File
@@ -38,7 +38,7 @@ 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(); let wb = glutin::window::WindowBuilder::new().with_title("LemnosLife");
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();