aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-01-07 00:22:57 +0100
committerdec05eba <dec05eba@protonmail.com>2023-01-07 00:22:57 +0100
commit030b78f7056b35ab53765212ee3ce94c5835a975 (patch)
tree793113088ee70cb126e7676ae43b9ad2ebe1a8a1 /include
parenteb7bb70749079490da090a5ad01fd4546195378e (diff)
Use const for arg
Diffstat (limited to 'include')
-rw-r--r--include/mgl/graphics/rectangle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/graphics/rectangle.h b/include/mgl/graphics/rectangle.h
index c48d108..c18d818 100644
--- a/include/mgl/graphics/rectangle.h
+++ b/include/mgl/graphics/rectangle.h
@@ -12,6 +12,6 @@ typedef struct {
mgl_color color;
} mgl_rectangle;
-void mgl_rectangle_draw(mgl_context *context, mgl_rectangle *rect);
+void mgl_rectangle_draw(mgl_context *context, const mgl_rectangle *rect);
#endif /* MGL_RECTANGLE_H */