summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-26 22:24:38 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-27 03:49:15 +0300
commit70f471c5322231d7651c0275df46b3a9547f9ac0 (patch)
tree9bc0e4948f8fcfab71c2b4f900dd4c0f16611a96 /src/resources/image.h
parent129b19f69fbbdcd896150aa8faa7f20254169c0c (diff)
downloadmv-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.gz
mv-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.bz2
mv-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.xz
mv-70f471c5322231d7651c0275df46b3a9547f9ac0.zip
Add option for enable textures compression (disabled by default)
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 17eb3ec93..d4cfaa9ef 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -215,10 +215,19 @@ class Image : public Resource
static int getTextureType()
{ return mTextureType; }
+ static int getInternalTextureType()
+ { return mInternalTextureType; }
+
+ static void setInternalTextureType(int n)
+ { mInternalTextureType = n; }
+
static void setBlur(bool n)
{ mBlur = n; }
static int mTextureType;
+
+ static int mInternalTextureType;
+
#endif
bool isHasAlphaChannel() const