diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/browserbox.cpp | 3 | ||||
-rw-r--r-- | src/gui/gui.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index e00494cd..5cae9fb7 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -23,7 +23,6 @@ #include <guichan/imagefont.hpp> -#include "../main.h" #ifdef USE_OPENGL #include "../resources/resourcemanager.h" #endif @@ -31,6 +30,8 @@ #include "linkhandler.h" #include "gui.h" +extern bool useOpenGL; + int BrowserBox::instances = 0; gcn::ImageFont* BrowserBox::browserFont; diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index f77ad0be..2eaa9d76 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -52,6 +52,7 @@ #include "../resources/resourcemanager.h" extern Being* autoTarget; +extern bool useOpenGL; // Guichan stuff Gui *gui; |