summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-07-31 22:10:26 +1000
committerquou <quou@disroot.org>2024-07-31 22:10:26 +1000
commit507f02e0e559559ba2e56552e036926c56cc35cc (patch)
tree2ea085f70d88a46c7fcf499f678408d30549a932 /render.h
parent78a0ff9e5993b4cd826684b52b79604bf02ece25 (diff)
ren_texture
Diffstat (limited to 'render.h')
-rw-r--r--render.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/render.h b/render.h
index e655c52..e7d459f 100644
--- a/render.h
+++ b/render.h
@@ -107,6 +107,11 @@ void ren_line(
const int* s,
const int* e
);
+void ren_texture(
+ Renderer* r,
+ const Rect* re,
+ const Texture* t
+);
/* Vertex format:
* x y z u v r g b
* All fixed point values with 9 bits of precision.