diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-03 01:44:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-03 01:44:11 +0300 |
commit | 6d7ecb0086759931ccb1daa6ea383305906980b7 (patch) | |
tree | 18816a169f5b2def1ac1fb0a8ad5ebd89f1d72b4 /src/graphics.cpp | |
parent | 0101f3715378644307115e136570959d3d4be3c9 (diff) | |
download | manaverse-6d7ecb0086759931ccb1daa6ea383305906980b7.tar.gz manaverse-6d7ecb0086759931ccb1daa6ea383305906980b7.tar.bz2 manaverse-6d7ecb0086759931ccb1daa6ea383305906980b7.tar.xz manaverse-6d7ecb0086759931ccb1daa6ea383305906980b7.zip |
Fix SDL_gfx confict from broken header.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp index 2086981de..279ee3497 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -58,6 +58,12 @@ static unsigned int *cR = nullptr; static unsigned int *cG = nullptr; static unsigned int *cB = nullptr; +int MSDL_gfxBlitRGBA(SDL_Surface *src, SDL_Rect *srcrect, + SDL_Surface *dst, SDL_Rect *dstrect) +{ + return SDL_gfxBlitRGBA(src, srcrect, dst, dstrect); +} + Graphics::Graphics() : SDLGraphics(), mWidth(0), |