summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-07-06 18:58:32 +1000
committerquou <quou@disroot.org>2024-07-06 18:58:32 +1000
commit80078a8335bef14e417d219aa8006a6c926370ef (patch)
treec8b8cda4b1703a79ddacc0a237e584290e06d24b /render.h
parentba892c857c5fbec18570d296d04277d9a738744a (diff)
Const-ify the ren_tri input vertices.
Diffstat (limited to 'render.h')
-rw-r--r--render.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/render.h b/render.h
index 887cffa..a8d5a4d 100644
--- a/render.h
+++ b/render.h
@@ -55,9 +55,9 @@ typedef enum {
void ren_tri(
Renderer* r,
Colour c,
- int* v0,
- int* v1,
- int* v2,
+ const int* v0,
+ const int* v1,
+ const int* v2,
Tri_Mode mode
);