diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-14 23:57:06 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-14 23:57:06 +0000 |
commit | cfaf8b836b21842b5d22ad774f93c2c364d33c0b (patch) | |
tree | 00dca4d03b2f9cff3ec0cef4ed8b6b05c4218c2b /src/gui/gui.cpp | |
parent | e475dc028ca49324f824a7e4d6d16f54781b9bee (diff) | |
download | mana-cfaf8b836b21842b5d22ad774f93c2c364d33c0b.tar.gz mana-cfaf8b836b21842b5d22ad774f93c2c364d33c0b.tar.bz2 mana-cfaf8b836b21842b5d22ad774f93c2c364d33c0b.tar.xz mana-cfaf8b836b21842b5d22ad774f93c2c364d33c0b.zip |
Fully removed the useOpenGL global.
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); |