summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
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/graphics.cpp
parent2728d48129248693508702772ad1a3ea945ae574 (diff)
downloadmv-8127238e3e06ff9d7952dde9f931c41c0947ba9c.tar.gz
mv-8127238e3e06ff9d7952dde9f931c41c0947ba9c.tar.bz2
mv-8127238e3e06ff9d7952dde9f931c41c0947ba9c.tar.xz
mv-8127238e3e06ff9d7952dde9f931c41c0947ba9c.zip
Extend FBO support.
Use FBO only if it supported. Use better FBO functions if possible.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 43e73f236..2700df10a 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -173,6 +173,7 @@ bool Graphics::setOpenGLMode()
logger->log1(glExtensions);
graphicsManager.updateExtensions(glExtensions);
+ graphicsManager.setGLVersion();
graphicsManager.updateTextureFormat();
updateMemoryInfo();