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/sdlgraphics.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/render/sdlgraphics.h') diff --git a/src/render/sdlgraphics.h b/src/render/sdlgraphics.h index 2c1847751..c705368e9 100644 --- a/src/render/sdlgraphics.h +++ b/src/render/sdlgraphics.h @@ -62,12 +62,10 @@ class SDLGraphics final : public Graphics void popClipArea() override final; - bool drawRescaledImage(const Image *const image, int srcX, - int srcY, int dstX, int dstY, - const int width, const int height, + bool drawRescaledImage(const Image *const image, + int dstX, int dstY, 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-60-g2f50