From 269cab0f80d49734a613ee4577f783ed870a8e1b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Aug 2024 05:42:31 +0200 Subject: set scissor const --- include/mgl/window/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h index 211c2e4..96511fc 100644 --- a/include/mgl/window/window.h +++ b/include/mgl/window/window.h @@ -131,7 +131,7 @@ void mgl_window_get_view(mgl_window *self, mgl_view *view); |mgl_window_set_scissor| with that saved scissor. The scissor is set to the window size when the window is resized (window resize event). */ -void mgl_window_set_scissor(mgl_window *self, mgl_scissor *new_scissor); +void mgl_window_set_scissor(mgl_window *self, const mgl_scissor *new_scissor); void mgl_window_get_scissor(mgl_window *self, mgl_scissor *scissor); void mgl_window_set_visible(mgl_window *self, bool visible); -- cgit v1.2.3