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/graphics.h | |
parent | 18ce80c0ab33d39975ed996653942bd2a7614dc9 (diff) | |
download | mana-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.h | 4 |
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; |