diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-17 03:38:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-17 03:38:10 +0300 |
commit | b3ee753a9386bc0c9e15eeea865c8f253a3bd6ee (patch) | |
tree | 24a043204c01e7e803e280c4c41d2e2601495b03 /src/resources | |
parent | 8d32becc5b0fe645d1b8dc4245310ff35ebd8777 (diff) | |
download | plus-b3ee753a9386bc0c9e15eeea865c8f253a3bd6ee.tar.gz plus-b3ee753a9386bc0c9e15eeea865c8f253a3bd6ee.tar.bz2 plus-b3ee753a9386bc0c9e15eeea865c8f253a3bd6ee.tar.xz plus-b3ee753a9386bc0c9e15eeea865c8f253a3bd6ee.zip |
Fix unit tests compilation with SDl 1.2
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/dye/dyepalette_unittest.cc | 2 | ||||
-rw-r--r-- | src/resources/sprite/animatedsprite_unittest.cc | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc index d250acb39..cda902697 100644 --- a/src/resources/dye/dyepalette_unittest.cc +++ b/src/resources/dye/dyepalette_unittest.cc @@ -23,9 +23,7 @@ #include "client.h" #include "configuration.h" #include "logger.h" -#ifdef USE_SDL2 #include "graphicsmanager.h" -#endif #include "resources/resourcemanager.h" #include "resources/sdlimagehelper.h" diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc index e87586466..715ce76b8 100644 --- a/src/resources/sprite/animatedsprite_unittest.cc +++ b/src/resources/sprite/animatedsprite_unittest.cc @@ -22,9 +22,7 @@ #include "catch.hpp" #include "client.h" -#ifdef USE_SDL2 #include "graphicsmanager.h" -#endif #include "const/resources/spriteaction.h" |