summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-07 20:04:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-07 20:04:31 +0300
commit4f73caba4497344c50ea245673493941d277699f (patch)
tree4827cef09b7b67bbe9f9230fe0c8217012adb96a /src/resources/image.h
parent8aa59221c316baf989424983d228f3bffd1b7e0a (diff)
downloadplus-4f73caba4497344c50ea245673493941d277699f.tar.gz
plus-4f73caba4497344c50ea245673493941d277699f.tar.bz2
plus-4f73caba4497344c50ea245673493941d277699f.tar.xz
plus-4f73caba4497344c50ea245673493941d277699f.zip
Add option to enable/disable texture blurring. (GL_LINEAR/GL_LINEAR)
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 89fe24d89..17eb3ec93 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -215,6 +215,9 @@ class Image : public Resource
static int getTextureType()
{ return mTextureType; }
+ static void setBlur(bool n)
+ { mBlur = n; }
+
static int mTextureType;
#endif
@@ -294,6 +297,7 @@ class Image : public Resource
static int mUseOpenGL;
static int mTextureSize;
+ static bool mBlur;
#endif
};