summaryrefslogtreecommitdiff
path: root/src/sdl2graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl2graphics.cpp')
-rw-r--r--src/sdl2graphics.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/sdl2graphics.cpp b/src/sdl2graphics.cpp
index 71a3ebbae..bdd06d3cf 100644
--- a/src/sdl2graphics.cpp
+++ b/src/sdl2graphics.cpp
@@ -49,7 +49,6 @@ static unsigned int *cB = nullptr;
SDLGraphics::SDLGraphics() :
Graphics(),
- mBlitMode(BLIT_NORMAL),
mOldPixel(0),
mOldAlpha(0)
{
@@ -131,16 +130,8 @@ bool SDLGraphics::drawImage2(const Image *const image, int srcX, int srcY,
return true;
/*
- if (mBlitMode == BLIT_NORMAL)
- {
- return !(SDL_BlitSurface(image->mSDLSurface, &srcRect,
- mWindow, &dstRect) < 0);
- }
- else
- {
- return !(SDL_gfxBlitRGBA(image->mSDLSurface, &srcRect,
- mWindow, &dstRect) < 0);
- }
+ return !(SDL_BlitSurface(image->mSDLSurface, &srcRect,
+ mWindow, &dstRect) < 0);
*/
}