diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-11 23:02:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-11 23:02:52 +0300 |
commit | 8127238e3e06ff9d7952dde9f931c41c0947ba9c (patch) | |
tree | a46f3337bd94df488eb4608bf683ccfd8dd42d7c /src/graphicsmanager.h | |
parent | 2728d48129248693508702772ad1a3ea945ae574 (diff) | |
download | manaplus-8127238e3e06ff9d7952dde9f931c41c0947ba9c.tar.gz manaplus-8127238e3e06ff9d7952dde9f931c41c0947ba9c.tar.bz2 manaplus-8127238e3e06ff9d7952dde9f931c41c0947ba9c.tar.xz manaplus-8127238e3e06ff9d7952dde9f931c41c0947ba9c.zip |
Extend FBO support.
Use FBO only if it supported.
Use better FBO functions if possible.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index a82739bc5..9b7a40a29 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -51,6 +51,8 @@ class GraphicsManager std::string getGLString(int num) const; + void setGLVersion(); + void setVideoMode(); bool checkGLVersion(int major, int minor) const; @@ -59,6 +61,8 @@ class GraphicsManager void deleteFBO(FBOInfo *fbo); + void initOpenGLFunctions(); + private: std::set<std::string> mExtensions; |