summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-16 17:33:52 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-16 17:33:52 +0000
commite4e314d67ac1327aecad7bc2934921eec62050c8 (patch)
treea2b9b222d72dff45da774fce6d8911ab49b57571 /src/graphics.h
parent18ce80c0ab33d39975ed996653942bd2a7614dc9 (diff)
downloadmana-client-e4e314d67ac1327aecad7bc2934921eec62050c8.tar.gz
mana-client-e4e314d67ac1327aecad7bc2934921eec62050c8.tar.bz2
mana-client-e4e314d67ac1327aecad7bc2934921eec62050c8.tar.xz
mana-client-e4e314d67ac1327aecad7bc2934921eec62050c8.zip
Leave out OpenGL completely when not enabled.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index e6dd6b02..78d4a3e6 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -25,9 +25,11 @@
#define _GRAPHICS_H
#include <guichan/sdl.hpp>
-#include <guichan/opengl.hpp>
#include <SDL.h>
+#ifdef USE_OPENGL
+#include <guichan/opengl.hpp>
#include <SDL_opengl.h>
+#endif
#include "resources/image.h"
extern SDL_Surface *screen;