From de91c23dd50748bdb6e13562b601784a83b64cb9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 25 Jul 2024 15:00:46 +0200 Subject: Update to latest mgl, adds option to hide decorations on window create --- src/window/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window') diff --git a/src/window/Window.cpp b/src/window/Window.cpp index d519e2f..cf6f64b 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -27,7 +27,7 @@ namespace mgl { bool Window::create(const char *title, CreateParams create_params) { if(window.window) return false; - return mgl_window_create(&window, title, (mgl_window_create_params*)&create_params) == 0; + return mgl_window_create(&window, title, (const mgl_window_create_params*)&create_params) == 0; } bool Window::create(WindowHandle existing_window) { -- cgit v1.2.3-70-g09d2