summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-14 23:05:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-14 23:05:09 +0300
commitd30dbea925c769d9e1e073a14c55e739e0ce3f79 (patch)
tree28e71ff454902088086d239309faeef8eec5c2f7 /src/graphics.cpp
parent2d76c0c4a439a52a5beb1b5475c7c0dbb46482a0 (diff)
downloadplus-d30dbea925c769d9e1e073a14c55e739e0ce3f79.tar.gz
plus-d30dbea925c769d9e1e073a14c55e739e0ce3f79.tar.bz2
plus-d30dbea925c769d9e1e073a14c55e739e0ce3f79.tar.xz
plus-d30dbea925c769d9e1e073a14c55e739e0ce3f79.zip
fix compilation warnings.
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)