summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 8f6b805cd..a14d630bf 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -50,9 +50,11 @@
#endif
#endif
+#if SDL_BYTEORDER == SDL_LIL_ENDIAN
static unsigned int *cR = nullptr;
static unsigned int *cG = nullptr;
static unsigned int *cB = nullptr;
+#endif
int MSDL_gfxBlitRGBA(SDL_Surface *src, SDL_Rect *srcrect,
SDL_Surface *dst, SDL_Rect *dstrect)