summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-26 18:51:06 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-26 18:51:06 +0200
commitea9f93442a3e073b47ead4d98076f2fb6e3dcb33 (patch)
tree17868b917ac1354443436928f646c52f5d388f0b /src/opengl1graphics.cpp
parent02d6bcd53e06e1caeb335bd9b12bb16cc982d656 (diff)
downloadmv-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.tar.gz
mv-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.tar.bz2
mv-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.tar.xz
mv-ea9f93442a3e073b47ead4d98076f2fb6e3dcb33.zip
Fix complilation without opengl.
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r--src/opengl1graphics.cpp5
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