summaryrefslogtreecommitdiff
path: root/src/sdl2graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-24 15:31:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitb70bbf075a20524e6c1859fb18db0865c65182ca (patch)
treed5c4974d004da809b2e723b2b883faabfb95ae2f /src/sdl2graphics.cpp
parent8f670620dbf4c8092e9f834f9d65cbc607b81511 (diff)
downloadplus-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.gz
plus-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.bz2
plus-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.xz
plus-b70bbf075a20524e6c1859fb18db0865c65182ca.zip
move surface combination into sdlimagehelper.
Diffstat (limited to 'src/sdl2graphics.cpp')
-rw-r--r--src/sdl2graphics.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sdl2graphics.cpp b/src/sdl2graphics.cpp
index 6d6a745ec..71a3ebbae 100644
--- a/src/sdl2graphics.cpp
+++ b/src/sdl2graphics.cpp
@@ -41,14 +41,6 @@
#include "debug.h"
-int MSDL_gfxBlitRGBA(SDL_Surface *src, SDL_Rect *srcrect,
- SDL_Surface *dst, SDL_Rect *dstrect)
-{
- SDL_SetSurfaceBlendMode (src, SDL_BLENDMODE_BLEND);
- SDL_BlitSurface(src, srcrect, dst, dstrect);
- return 1;
-}
-
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
static unsigned int *cR = nullptr;
static unsigned int *cG = nullptr;