From 165b8fa65efb15b2929278687720ca53683e6616 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 Dec 2022 12:41:54 +0000 Subject: Support saving textures with different output types --- gfx/models/texture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx/models/texture.h') 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; }; -- cgit v1.2.3