diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-19 16:43:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-19 18:34:56 +0300 |
commit | 582900e6c698823fc95bc6653707a328e96dd075 (patch) | |
tree | 1e3bca15f9b14045e83ac5a7f85ca98fa6f7933a /src/sdlgraphics.cpp | |
parent | f93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c (diff) | |
download | manaverse-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.cpp | 6 |
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; |