diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-21 23:18:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-21 23:18:11 +0300 |
commit | dca5154e6690286b04a8cb7c7c6f2ef63e0b56df (patch) | |
tree | 6a6a0f3119f96228053f85acdbebde0fbb4fd0bc /src/resources/dye/dye_unittest.cc | |
parent | 6addecc3615d5e3f9caaafd39aa639c8ff49115b (diff) | |
download | plus-dca5154e6690286b04a8cb7c7c6f2ef63e0b56df.tar.gz plus-dca5154e6690286b04a8cb7c7c6f2ef63e0b56df.tar.bz2 plus-dca5154e6690286b04a8cb7c7c6f2ef63e0b56df.tar.xz plus-dca5154e6690286b04a8cb7c7c6f2ef63e0b56df.zip |
Move buildhex macro into separate file.
Diffstat (limited to 'src/resources/dye/dye_unittest.cc')
-rw-r--r-- | src/resources/dye/dye_unittest.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/resources/dye/dye_unittest.cc b/src/resources/dye/dye_unittest.cc index e72609329..c06d0aacb 100644 --- a/src/resources/dye/dye_unittest.cc +++ b/src/resources/dye/dye_unittest.cc @@ -48,20 +48,8 @@ #include <SDL.h> #endif // USE_SDL2 -#ifndef SDL_BIG_ENDIAN -#include <SDL_endian.h> -#endif // SDL_BYTEORDER - #include "debug.h" -#if SDL_BYTEORDER == SDL_BIG_ENDIAN -#define buildHex(a, b, c, d) \ - (d) * 16777216U + (c) * 65536U + (b) * 256U + CAST_U32(a) -#else // SDL_BYTEORDER == SDL_BIG_ENDIAN -#define buildHex(a, b, c, d) \ - (a) * 16777216U + (b) * 65536U + (c) * 256U + CAST_U32(d) -#endif // SDL_BYTEORDER == SDL_BIG_ENDIAN - #ifdef USE_OPENGL TEST_CASE("Dye replaceSOGLColor 1 1") |