summaryrefslogtreecommitdiff
path: root/src/resources/dye/dye_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye/dye_unittest.cc')
-rw-r--r--src/resources/dye/dye_unittest.cc12
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")