summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-06 21:15:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-06 21:15:02 +0300
commit56cfe4d3a38a2440622cf32f613a2b57ae5b3852 (patch)
tree556f69d83c770dd861e0dab59ab3db8429929bbd /src/graphicsmanager.h
parentfdbd1a4c521c537597b63cd4f2262517cab1f81a (diff)
downloadplus-56cfe4d3a38a2440622cf32f613a2b57ae5b3852.tar.gz
plus-56cfe4d3a38a2440622cf32f613a2b57ae5b3852.tar.bz2
plus-56cfe4d3a38a2440622cf32f613a2b57ae5b3852.tar.xz
plus-56cfe4d3a38a2440622cf32f613a2b57ae5b3852.zip
Disable rectangular textures if texture sampler enabled.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 40126dc1d..1a095422e 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -93,6 +93,10 @@ class GraphicsManager final
bool getUseAtlases() const
{ return mUseAtlases; }
+#ifdef USE_OPENGL
+ bool isUseTextureSampler() const
+ { return mUseTextureSampler; }
+#endif
unsigned int getLastError();
private: