summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-11 12:41:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-11 12:41:54 +0000
commit165b8fa65efb15b2929278687720ca53683e6616 (patch)
tree83a9fa1fe0237542697ca32a4d9a5cfe7a3971ca /gfx/models/texture.h
parentAdd a mini C filesystem wrapper library with mmap support (diff)
downloadilt-165b8fa65efb15b2929278687720ca53683e6616.tar.bz2
ilt-165b8fa65efb15b2929278687720ca53683e6616.tar.xz
ilt-165b8fa65efb15b2929278687720ca53683e6616.zip
Support saving textures with different output types
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r--gfx/models/texture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h
index de532a5..3974d7f 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -22,8 +22,8 @@ public:
static void saveDepth(const glTexture &, const glm::ivec2 & size, const char * path);
private:
- static void save(const glTexture &, GLenum, const glm::ivec2 & size, unsigned short channels, const char * path,
- short tgaFormat);
+ static void save(const glTexture &, GLenum, GLenum, const glm::ivec2 & size, unsigned short channels,
+ const char * path, short tgaFormat);
glTexture m_texture;
};