diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 2eaa9d76..197177cd 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -52,7 +52,6 @@ #include "../resources/resourcemanager.h" extern Being* autoTarget; -extern bool useOpenGL; // Guichan stuff Gui *gui; @@ -72,7 +71,7 @@ Gui::Gui(Graphics *graphics): mCustomCursor(false) { #ifdef USE_OPENGL - if (useOpenGL) { + if (config.getValue("opengl", 0)) { // Set graphics setGraphics((gcn::OpenGLGraphics*)graphics); |