diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-26 18:51:06 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-26 18:51:06 +0200 |
commit | ea9f93442a3e073b47ead4d98076f2fb6e3dcb33 (patch) | |
tree | 17868b917ac1354443436928f646c52f5d388f0b /src/opengl1graphics.cpp | |
parent | 02d6bcd53e06e1caeb335bd9b12bb16cc982d656 (diff) | |
download | manaverse-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.tar.gz manaverse-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.tar.bz2 manaverse-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.tar.xz manaverse-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.zip |
Fix complilation without opengl.
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r-- | src/opengl1graphics.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opengl1graphics.cpp b/src/opengl1graphics.cpp index 4a1322e6d..30d54e754 100644 --- a/src/opengl1graphics.cpp +++ b/src/opengl1graphics.cpp @@ -20,6 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "main.h" + +#ifdef USE_OPENGL #include "opengl1graphics.h" #include "graphicsvertexes.h" @@ -27,8 +30,6 @@ #include "resources/image.h" -#ifdef USE_OPENGL - #ifdef __APPLE__ #include <OpenGL/OpenGL.h> #endif |