summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-11 23:02:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-11 23:02:52 +0300
commit8127238e3e06ff9d7952dde9f931c41c0947ba9c (patch)
treea46f3337bd94df488eb4608bf683ccfd8dd42d7c /src/graphicsmanager.h
parent2728d48129248693508702772ad1a3ea945ae574 (diff)
downloadmanaplus-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.h4
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;