diff options
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index 6a41da035..9abc3bf23 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -55,6 +55,8 @@ class GraphicsManager bool checkGLVersion(int major, int minor) const; + bool checkPlatformVersion(int major, int minor) const; + void createFBO(int width, int height, FBOInfo *fbo); void deleteFBO(FBOInfo *fbo); @@ -63,16 +65,24 @@ class GraphicsManager void updateExtensions(); + void updatePlanformExtensions(); + Graphics *createGraphics(); private: std::set<std::string> mExtensions; + std::set<std::string> mPlatformExtensions; + std::string mVersionString; int mMinor; int mMajor; + + int mPlatformMinor; + + int mPlatformMajor; }; extern GraphicsManager graphicsManager; |