aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-25 15:00:46 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-25 15:00:46 +0200
commitde91c23dd50748bdb6e13562b601784a83b64cb9 (patch)
tree6347b370d2a2b9954a049ef0ba55e351aafa9d23 /src/window
parentfd15a6947741c997072df8b1ddf93cefc416c838 (diff)
Update to latest mgl, adds option to hide decorations on window create
Diffstat (limited to 'src/window')
-rw-r--r--src/window/Window.cpp2
1 files changed, 1 insertions, 1 deletions
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) {