diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-11 23:17:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-11 23:17:58 +0300 |
commit | 4dbda55f670866db29a64ca7a79500efbe6f8d00 (patch) | |
tree | ddf806b499dcb4896568278b05defad1f27bcd06 /src/resources/image.h | |
parent | fbb1186a319794dba7c23c466c07d6f45f940b8e (diff) | |
download | plus-4dbda55f670866db29a64ca7a79500efbe6f8d00.tar.gz plus-4dbda55f670866db29a64ca7a79500efbe6f8d00.tar.bz2 plus-4dbda55f670866db29a64ca7a79500efbe6f8d00.tar.xz plus-4dbda55f670866db29a64ca7a79500efbe6f8d00.zip |
Replace some getters to direct fileds using.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index 160adcba3..3374c8697 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -155,6 +155,8 @@ class Image : public Resource { return mGLImage; } GLuint mGLImage; + int mTexWidth; + int mTexHeight; #endif bool isHasAlphaChannel() const @@ -214,8 +216,6 @@ class Image : public Resource */ Image(const GLuint glimage, const int width, const int height, const int texWidth, const int texHeight); - - int mTexWidth, mTexHeight; #endif }; |