diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-29 21:22:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-29 21:22:33 +0300 |
commit | f94a6551b8d140e272ac1c46bce1ff0e5df34986 (patch) | |
tree | 35c764dfec7b76f926c30cd186b6fe36968b6529 /src/render/sdl2softwaregraphics.h | |
parent | 0336b91f51cdf14e022f74d16c15892b63b658eb (diff) | |
download | manaverse-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.gz manaverse-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.bz2 manaverse-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.xz manaverse-f94a6551b8d140e272ac1c46bce1ff0e5df34986.zip |
improve draw image calls.
Diffstat (limited to 'src/render/sdl2softwaregraphics.h')
-rw-r--r-- | src/render/sdl2softwaregraphics.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h index ab9fb7ce4..718088972 100644 --- a/src/render/sdl2softwaregraphics.h +++ b/src/render/sdl2softwaregraphics.h @@ -140,10 +140,7 @@ class SDL2SoftwareGraphics final : public Graphics bool resizeScreen(const int width, const int height) override final; 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; |