diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-29 07:11:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-29 07:11:33 +0300 |
commit | 5ff7a99ebd4d9708ba75b1387acd98fe23865a61 (patch) | |
tree | 46da3c2a18859dbca5081dcc309f16ef0e2f3104 /src | |
parent | 5fa6db36789bcf49fad5cd6b75d4f2e831dc41ab (diff) | |
download | plus-5ff7a99ebd4d9708ba75b1387acd98fe23865a61.tar.gz plus-5ff7a99ebd4d9708ba75b1387acd98fe23865a61.tar.bz2 plus-5ff7a99ebd4d9708ba75b1387acd98fe23865a61.tar.xz plus-5ff7a99ebd4d9708ba75b1387acd98fe23865a61.zip |
Fix style issues in sdl.cc
Diffstat (limited to 'src')
-rw-r--r-- | src/unittests/sdl.cc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/unittests/sdl.cc b/src/unittests/sdl.cc index b0d8516e1..df29c9bd1 100644 --- a/src/unittests/sdl.cc +++ b/src/unittests/sdl.cc @@ -52,7 +52,6 @@ PRAGMA48(GCC diagnostic ignored "-Wshadow") PRAGMA48(GCC diagnostic pop) #ifndef UNITTESTS_CATCH -//#include <algorithm> #endif // UNITTESTS_CATCH #include "debug.h" @@ -128,10 +127,12 @@ TEST_CASE("sdl tests", "sdl") ptr[f] = 300 * f; } #ifdef USE_SDL2 - SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface( + surface); #else // USE_SDL2 - SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface( + surface); #endif // USE_SDL2 uint32_t *ptr2 = reinterpret_cast<uint32_t*>(surface2->pixels); @@ -167,10 +168,12 @@ TEST_CASE("sdl tests", "sdl") ptr[f] = 300 * f; } #ifdef USE_SDL2 - SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface( + surface); #else // USE_SDL2 - SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface( + surface); #endif // USE_SDL2 uint32_t *ptr2 = reinterpret_cast<uint32_t*>(surface2->pixels); |