summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-25 22:00:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-27 14:38:48 +0300
commit7d24b0dd32fafa7a85724400d525c5ee7923d0ba (patch)
tree29057a4808f2f3a9eb9ceb67b345fe05f2ad1ed5 /src/resources/image.h
parent7f45d87f62eeef171d4873e95d1de8dfac2446af (diff)
downloadmv-7d24b0dd32fafa7a85724400d525c5ee7923d0ba.tar.gz
mv-7d24b0dd32fafa7a85724400d525c5ee7923d0ba.tar.bz2
mv-7d24b0dd32fafa7a85724400d525c5ee7923d0ba.tar.xz
mv-7d24b0dd32fafa7a85724400d525c5ee7923d0ba.zip
Show in resource releases texture id.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 2ba7890ab..11d3828fd 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -149,6 +149,9 @@ class Image : public Resource
int getTextureHeight() const
{ return mTexHeight; }
+
+ GLuint getGLImage() const
+ { return mGLImage; }
#endif
bool isHasAlphaChannel() const