summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-03 01:44:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-03 01:44:11 +0300
commit6d7ecb0086759931ccb1daa6ea383305906980b7 (patch)
tree18816a169f5b2def1ac1fb0a8ad5ebd89f1d72b4 /src/graphics.cpp
parent0101f3715378644307115e136570959d3d4be3c9 (diff)
downloadmv-6d7ecb0086759931ccb1daa6ea383305906980b7.tar.gz
mv-6d7ecb0086759931ccb1daa6ea383305906980b7.tar.bz2
mv-6d7ecb0086759931ccb1daa6ea383305906980b7.tar.xz
mv-6d7ecb0086759931ccb1daa6ea383305906980b7.zip
Fix SDL_gfx confict from broken header.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp6
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),