summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-09-02 20:49:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-09-02 20:49:04 +0100
commit995961c162b4e79c690f722c61c01165ef497e9f (patch)
tree1066950804f4c94d1be0705e19d2eedfa803a256 /gfx/models/texture.h
parentAdd TextureDimensions type (diff)
downloadilt-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.h2
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;