diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-09-02 20:49:04 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-09-02 20:49:04 +0100 |
commit | 995961c162b4e79c690f722c61c01165ef497e9f (patch) | |
tree | 1066950804f4c94d1be0705e19d2eedfa803a256 /gfx/models/texture.h | |
parent | Add TextureDimensions type (diff) | |
download | ilt-995961c162b4e79c690f722c61c01165ef497e9f.tar.bz2 ilt-995961c162b4e79c690f722c61c01165ef497e9f.tar.xz ilt-995961c162b4e79c690f722c61c01165ef497e9f.zip |
Update Texture::getSize and ::size to account for the third texture dimension
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 8cb8128..3329511 100644 --- a/gfx/models/texture.h +++ b/gfx/models/texture.h @@ -41,7 +41,7 @@ public: protected: static void save(const glTexture &, GLenum, GLenum, uint8_t channels, const char * path, uint8_t tgaFormat); - static TextureAbsCoord getSize(const glTexture &); + static TextureDimensions getSize(const glTexture &); glTexture m_texture; GLenum type; |