diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-16 17:33:52 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-16 17:33:52 +0000 |
commit | e4e314d67ac1327aecad7bc2934921eec62050c8 (patch) | |
tree | a2b9b222d72dff45da774fce6d8911ab49b57571 /src/resources | |
parent | 18ce80c0ab33d39975ed996653942bd2a7614dc9 (diff) | |
download | mana-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.h | 2 |
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 |