diff options
Diffstat (limited to 'src/render/sdl2graphics.h')
-rw-r--r-- | src/render/sdl2graphics.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h index 9ab56afe7..b489f2475 100644 --- a/src/render/sdl2graphics.h +++ b/src/render/sdl2graphics.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, |