summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-29 21:22:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-29 21:22:33 +0300
commitf94a6551b8d140e272ac1c46bce1ff0e5df34986 (patch)
tree35c764dfec7b76f926c30cd186b6fe36968b6529 /src/render/sdl2graphics.h
parent0336b91f51cdf14e022f74d16c15892b63b658eb (diff)
downloadmanaplus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.gz
manaplus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.bz2
manaplus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.xz
manaplus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.zip
improve draw image calls.
Diffstat (limited to 'src/render/sdl2graphics.h')
-rw-r--r--src/render/sdl2graphics.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h
index f1960d358..9ab56afe7 100644
--- a/src/render/sdl2graphics.h
+++ b/src/render/sdl2graphics.h
@@ -137,10 +137,7 @@ class SDLGraphics final : public Graphics
{ mRendererFlags = flags; }
bool drawImage2(const Image *const image,
- int srcX, int srcY,
- int dstX, int dstY,
- const int width, const int height,
- const bool useColor) override final;
+ int dstX, int dstY) override final;
void drawImageCached(const Image *const image,
int x, int y) override final;