summaryrefslogtreecommitdiff
path: root/src/sdlgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-19 16:43:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-19 18:34:56 +0300
commit582900e6c698823fc95bc6653707a328e96dd075 (patch)
tree1e3bca15f9b14045e83ac5a7f85ca98fa6f7933a /src/sdlgraphics.cpp
parentf93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c (diff)
downloadmanaverse-582900e6c698823fc95bc6653707a328e96dd075.tar.gz
manaverse-582900e6c698823fc95bc6653707a328e96dd075.tar.bz2
manaverse-582900e6c698823fc95bc6653707a328e96dd075.tar.xz
manaverse-582900e6c698823fc95bc6653707a328e96dd075.zip
fix compilation with old gcc.
Diffstat (limited to 'src/sdlgraphics.cpp')
-rw-r--r--src/sdlgraphics.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sdlgraphics.cpp b/src/sdlgraphics.cpp
index db620d5fa..704f51f3a 100644
--- a/src/sdlgraphics.cpp
+++ b/src/sdlgraphics.cpp
@@ -37,6 +37,12 @@
#include "debug.h"
+int MSDL_gfxBlitRGBA(SDL_Surface *src, SDL_Rect *srcrect,
+ SDL_Surface *dst, SDL_Rect *dstrect)
+{
+ return SDL_gfxBlitRGBA(src, srcrect, dst, dstrect);
+}
+
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
static unsigned int *cR = nullptr;
static unsigned int *cG = nullptr;