summaryrefslogtreecommitdiff
path: root/src/core/texture.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-23 23:59:02 +0800
committerchai <chaifix@163.com>2019-12-23 23:59:02 +0800
commitd49f3d3f73709a9a7c0bce53aa13ed28a2bd27cb (patch)
tree3fc2cca442106a56fc151c5faffbb24217ca83f5 /src/core/texture.h
parentec111247c614663d8231245a17c314b9b8b4a28c (diff)
*misc
Diffstat (limited to 'src/core/texture.h')
-rw-r--r--src/core/texture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/texture.h b/src/core/texture.h
index 06016ad..4e2c992 100644
--- a/src/core/texture.h
+++ b/src/core/texture.h
@@ -29,6 +29,8 @@ typedef struct {
Texture* texture_loadfromfile(const char* path);
Texture* texture_create(uint width, uint height);
+void texture_save(const char* file);
+
void texture_setfiltermode(Texture* tex, FilterMode filter);
void texture_setwrapmode(Texture* tex, WrapMode wrap);