summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 02:56:33 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 02:56:33 +0100
commitc44e7537d027cba66abe564b247549040426ebfe (patch)
treeda1861ea38a619be11cb3befcc4c08a931203835 /gfx/models/texture.h
parentNo need to pass size around, we can get it back from the texture (diff)
downloadilt-c44e7537d027cba66abe564b247549040426ebfe.tar.bz2
ilt-c44e7537d027cba66abe564b247549040426ebfe.tar.xz
ilt-c44e7537d027cba66abe564b247549040426ebfe.zip
Externalise a neater definition of TGAHead
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r--gfx/models/texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h
index f4e1476..68ec649 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -34,7 +34,7 @@ public:
static void saveNormal(const glTexture &, const char * path);
protected:
- static void save(const glTexture &, GLenum, GLenum, unsigned short channels, const char * path, short tgaFormat);
+ static void save(const glTexture &, GLenum, GLenum, uint8_t channels, const char * path, uint8_t tgaFormat);
static glm::ivec2 getSize(const glTexture &);
glTexture m_texture;