aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-01-07 13:36:39 +0100
committerdec05eba <dec05eba@protonmail.com>2023-01-07 13:36:39 +0100
commitc6017539ea7caa1db88040f96b3352f15f7b02b9 (patch)
tree898afd2ffed995c6262fa86fc20d7e00232ca5c4 /include
parent293770707e12aa6b725e5ebaa30dc1aa80fdebc3 (diff)
const
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h
index 20cfc0d..27926b2 100644
--- a/include/mgl/window/window.h
+++ b/include/mgl/window/window.h
@@ -113,9 +113,9 @@ void mgl_window_set_cursor_visible(mgl_window *self, bool visible);
/* 0 = no fps limit, or limit fps to vsync if vsync is enabled */
void mgl_window_set_framerate_limit(mgl_window *self, int fps);
void mgl_window_set_vsync_enabled(mgl_window *self, bool enabled);
-bool mgl_window_is_vsync_enabled(mgl_window *self);
+bool mgl_window_is_vsync_enabled(const mgl_window *self);
void mgl_window_set_fullscreen(mgl_window *self, bool fullscreen);
-bool mgl_window_is_fullscreen(mgl_window *self);
+bool mgl_window_is_fullscreen(const mgl_window *self);
void mgl_window_set_position(mgl_window *self, mgl_vec2i position);
void mgl_window_set_size(mgl_window *self, mgl_vec2i size);