aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mgl/graphics/texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgl/graphics/texture.h b/include/mgl/graphics/texture.h
index 61ac273..387a977 100644
--- a/include/mgl/graphics/texture.h
+++ b/include/mgl/graphics/texture.h
@@ -41,6 +41,7 @@ int mgl_texture_update(mgl_texture *self, const unsigned char *data, int offset_
int mgl_texture_resize(mgl_texture *self, int new_width, int new_height, mgl_texture_load_options *load_options);
/* If |texture| is NULL then no texture is used */
void mgl_texture_use(const mgl_texture *texture);
+const mgl_texture* mgl_texture_current_texture(void);
void mgl_texture_unload(mgl_texture *self);
#endif /* MGL_TEXTURE_H */