From 79684d4ae9d4f05aaa091c8a5a66f58efd69c887 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 17 Oct 2024 18:12:33 +0100 Subject: Texture::getSize helper can be public --- gfx/models/texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/models') 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; -- cgit v1.2.3