diff options
Diffstat (limited to 'src/resources/image')
-rw-r--r-- | src/resources/image/image.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/image/image.h b/src/resources/image/image.h index 39492c360..ae29a66ae 100644 --- a/src/resources/image/image.h +++ b/src/resources/image/image.h @@ -29,8 +29,6 @@ #include "resources/resource.h" -#include <SDL_video.h> - #ifdef USE_OPENGL #ifdef ANDROID @@ -45,7 +43,9 @@ #ifdef USE_SDL2 #include <SDL_render.h> -#endif +#else // USE_SDL2 +#include <SDL_video.h> +#endif // USE_SDL2 #include <map> |