diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 02:56:33 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 02:56:33 +0100 |
commit | c44e7537d027cba66abe564b247549040426ebfe (patch) | |
tree | da1861ea38a619be11cb3befcc4c08a931203835 /gfx/models/texture.h | |
parent | No need to pass size around, we can get it back from the texture (diff) | |
download | ilt-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.h | 2 |
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;
|