diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-17 18:12:33 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-17 18:12:33 +0100 |
commit | 79684d4ae9d4f05aaa091c8a5a66f58efd69c887 (patch) | |
tree | ddf63683338f02f9f46e436c2258b1f0e583168b /gfx/models | |
parent | Better shadowBands sizes (diff) | |
download | ilt-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.h | 2 |
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; |