diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-04 03:21:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-04 03:21:57 +0300 |
commit | 485ba81a87c50c23d1f97318e42f4937af1fda1f (patch) | |
tree | b1b85f22e9bf2ea10e5fcddf3000506d207015fe /src/dyetool | |
parent | 554210becbfc9de611699889a3fd0f53525a1b83 (diff) | |
download | mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.gz mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.bz2 mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.xz mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.zip |
Remove some useless includes if using SDL2.
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/dyemain.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp index 4625e95fc..9763f603b 100644 --- a/src/dyetool/dyemain.cpp +++ b/src/dyetool/dyemain.cpp @@ -26,11 +26,10 @@ #include "resources/image.h" #include "resources/imagewriter.h" -#include "resources/sdlimagehelper.h" #ifdef USE_SDL2 #include "resources/surfaceimagehelper.h" -#endif +#endif // USE_SDL2 #include "resources/loaders/imageloader.h" @@ -41,7 +40,11 @@ #include <iostream> +#ifndef USE_SDL2 +#include "resources/sdlimagehelper.h" + #include <SDL.h> +#endif // USE_SDL2 #include "debug.h" |