summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 9c0f9da7..794506bf 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -179,6 +179,8 @@ class Image : public Resource
*/
static void setLoadAsOpenGL(bool useOpenGL);
+ static bool getLoadAsOpenGL() { return mUseOpenGL; }
+
int getTextureWidth() const { return mTexWidth; }
int getTextureHeight() const { return mTexHeight; }
static int getTextureType() { return mTextureType; }