summaryrefslogtreecommitdiff
path: root/gfx/models
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-10-17 18:12:33 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-10-17 18:12:33 +0100
commit79684d4ae9d4f05aaa091c8a5a66f58efd69c887 (patch)
treeddf63683338f02f9f46e436c2258b1f0e583168b /gfx/models
parentBetter shadowBands sizes (diff)
downloadilt-79684d4ae9d4f05aaa091c8a5a66f58efd69c887.tar.bz2
ilt-79684d4ae9d4f05aaa091c8a5a66f58efd69c887.tar.xz
ilt-79684d4ae9d4f05aaa091c8a5a66f58efd69c887.zip
Texture::getSize helper can be public
Diffstat (limited to 'gfx/models')
-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 3329511..d8c3b29 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -38,10 +38,10 @@ public:
static void saveDepth(const glTexture &, const char * path);
static void saveNormal(const glTexture &, const char * path);
static void savePosition(const glTexture &, const char * path);
+ static TextureDimensions getSize(const glTexture &);
protected:
static void save(const glTexture &, GLenum, GLenum, uint8_t channels, const char * path, uint8_t tgaFormat);
- static TextureDimensions getSize(const glTexture &);
glTexture m_texture;
GLenum type;