summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-13 22:18:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 02:57:13 +0300
commit135c19b4337e1ab45cff40a306eadc52a061ddef (patch)
tree0a163ca1edd542aec5570b7e451034aafb4089dd /src/graphicsmanager.h
parent3a2bab265768c219b0c077eef10b69dfe8158131 (diff)
downloadmv-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.gz
mv-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.bz2
mv-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.xz
mv-135c19b4337e1ab45cff40a306eadc52a061ddef.zip
add atlas textures support.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 8799d681e..84523d19f 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -78,6 +78,9 @@ class GraphicsManager final
int getMaxVertices() const
{ return mMaxVertices; }
+ bool getUseAtlases() const
+ { return mUseAtlases; }
+
private:
std::set<std::string> mExtensions;
@@ -94,6 +97,8 @@ class GraphicsManager final
int mPlatformMajor;
int mMaxVertices;
+
+ bool mUseAtlases;
};
extern GraphicsManager graphicsManager;