summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 9abc3bf23..0ee79cb25 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -67,8 +67,15 @@ class GraphicsManager
void updatePlanformExtensions();
+ void initOpenGL();
+
+ void updateLimits();
+
Graphics *createGraphics();
+ int getMaxVertices()
+ { return mMaxVertices; }
+
private:
std::set<std::string> mExtensions;
@@ -83,6 +90,8 @@ class GraphicsManager
int mPlatformMinor;
int mPlatformMajor;
+
+ int mMaxVertices;
};
extern GraphicsManager graphicsManager;