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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 3cfb9216..4422fcc8 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -128,6 +128,10 @@ class Image : public Resource
* <code>true</code> for OpenGL.
*/
static void setLoadAsOpenGL(bool useOpenGL);
+
+ int getTextureWidth() const { return mTexWidth; }
+ int getTextureHeight() const { return mTexHeight; }
+ static int getTextureType() { return mTextureType; }
#endif
/**