aboutsummaryrefslogtreecommitdiff
path: root/src/gui/CustomRendererWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/CustomRendererWidget.cpp')
-rw-r--r--src/gui/CustomRendererWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/CustomRendererWidget.cpp b/src/gui/CustomRendererWidget.cpp
index cfb113b..4cb7adf 100644
--- a/src/gui/CustomRendererWidget.cpp
+++ b/src/gui/CustomRendererWidget.cpp
@@ -20,7 +20,7 @@ namespace gsr {
mgl_scissor prev_scissor;
mgl_window_get_scissor(window.internal_window(), &prev_scissor);
- mgl_scissor new_scissor = {
+ const mgl_scissor new_scissor = {
mgl_vec2i{(int)draw_pos.x, (int)draw_pos.y},
mgl_vec2i{(int)size.x, (int)size.y}
};