diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-14 12:43:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-14 12:55:01 +0300 |
commit | fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6 (patch) | |
tree | bb19ed9d1e21b4b8517d588bca0a18c1c0fcc359 /src/graphicsmanager.h | |
parent | c5fd70049a0ebdc14e49af3e5215521085a44b46 (diff) | |
download | mv-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.tar.gz mv-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.tar.bz2 mv-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.tar.xz mv-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.zip |
Add support for GLX and wGL extensions.
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; |