summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 384bc2341..19c53c83a 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -166,11 +166,8 @@ bool Graphics::setOpenGLMode()
logger->log("Using OpenGL %s double buffering.",
(gotDoubleBuffer ? "with" : "without"));
- graphicsManager.setGLVersion();
- graphicsManager.initOpenGLFunctions();
- graphicsManager.updateExtensions();
- graphicsManager.updatePlanformExtensions();
-
+ graphicsManager.initOpenGL();
+ initArrays();
graphicsManager.updateTextureFormat();
updateMemoryInfo();