From fc8c713067099023e6311138d5bfa426097e7804 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Sat, 22 Oct 2022 23:18:11 +0200 Subject: [PATCH] Add window title --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d4cfa1a..14d00e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,7 +38,7 @@ const BIOMES: [&str; BIOMES_NUMBER] = [ fn main() { // building the display, ie. the main object 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 display = glium::Display::new(wb, cb, &event_loop).unwrap();