From 31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 14:17:37 +0300 Subject: Improve drawRescaledImage in renderers. --- src/render/sdl2softwaregraphics.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/render/sdl2softwaregraphics.h') diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h index 718088972..658f1d127 100644 --- a/src/render/sdl2softwaregraphics.h +++ b/src/render/sdl2softwaregraphics.h @@ -63,12 +63,9 @@ class SDL2SoftwareGraphics final : public Graphics void popClipArea(); bool drawRescaledImage(const Image *const image, - int srcX, int srcY, int dstX, int dstY, - const int width, const int height, const int desiredWidth, - const int desiredHeight, - const bool useColor = false) override final; + const int desiredHeight) override final; void drawPattern(const Image *const image, const int x, const int y, -- cgit v1.2.3-70-g09d2