diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-15 19:00:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-15 19:00:59 +0300 |
commit | 39e19833f3cdb67b53544f3a8787628e484a50ef (patch) | |
tree | 20758d2591927e2147d343cf44b8ef39cd8045c5 /src/render/graphics.cpp | |
parent | 5273b0bc8dcc2adbf8557a4008c63e50955884fe (diff) | |
download | manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.gz manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.bz2 manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.xz manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.zip |
Fix other include issues.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r-- | src/render/graphics.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index e589058c5..78965afc9 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -84,15 +84,19 @@ #include "render/nacl/naclgles.h" #endif // __native_client__ #else // USE_OPENGL +#ifndef USE_SDL2 #include "resources/imagehelper.h" +#endif // USE_SDL2 #endif // USE_OPENGL #ifdef USE_OPENGL #ifdef __APPLE__ #include <OpenGL/OpenGL.h> -#endif +#endif // __APPLE__ +#ifndef USE_SDL2 #include "render/opengl/mgldefines.h" -#endif +#endif // USE_SDL2 +#endif // USE_OPENGL #include "debug.h" |