summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
parent18ce80c0ab33d39975ed996653942bd2a7614dc9 (diff)
downloadmana-e4e314d67ac1327aecad7bc2934921eec62050c8.tar.gz
mana-e4e314d67ac1327aecad7bc2934921eec62050c8.tar.bz2
mana-e4e314d67ac1327aecad7bc2934921eec62050c8.tar.xz
mana-e4e314d67ac1327aecad7bc2934921eec62050c8.zip
Leave out OpenGL completely when not enabled.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index c38677d8..807f0fb0 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -26,7 +26,9 @@
#include "resource.h"
#include <SDL.h>
+#ifdef USE_OPENGL
#include <SDL_opengl.h>
+#endif
#include <string>
// This flag causes image alpha channel to be preserved, otherwise masking is