aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/texture.c')
-rw-r--r--src/graphics/texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphics/texture.c b/src/graphics/texture.c
index 9ea9b12..7d8fdcf 100644
--- a/src/graphics/texture.c
+++ b/src/graphics/texture.c
@@ -149,6 +149,7 @@ int mgl_texture_resize(mgl_texture *self, int new_width, int new_height, mgl_tex
return 0;
}
+/* TODO: Optimize. Do not set matrix if the current coordinate type was the same as the previous one */
void mgl_texture_use(const mgl_texture *texture) {
mgl_context *context = mgl_get_context();