From ea9f93442a3e073b47ead4d98076f2fb6e3dcb33 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Mar 2011 18:51:06 +0200 Subject: Fix complilation without opengl. --- src/opengl1graphics.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/opengl1graphics.cpp') 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 . */ +#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 #endif -- cgit v1.2.3-70-g09d2