damn, rust borrow checker got hands

This commit is contained in:
LunarAkai 2025-08-03 20:41:13 +02:00
commit 1c75b7ac87
4 changed files with 16 additions and 19 deletions

View file

@ -38,7 +38,8 @@ impl GLFWWindow {
}
pub fn handle_window_event(_window: &mut glfw::Window, event: glfw::WindowEvent) {
pub fn handle_window_event(&self, event: glfw::WindowEvent) {
match event {
glfw::WindowEvent::Close => {
WindowCloseEvent::emit();

View file

@ -43,8 +43,6 @@ impl WindowConfig {
}
}
fn default_visibility() -> bool {
true
}