summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/normalopenglgraphics.h')
-rw-r--r--src/render/normalopenglgraphics.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h
index 27e6120b4..13546b805 100644
--- a/src/render/normalopenglgraphics.h
+++ b/src/render/normalopenglgraphics.h
@@ -67,20 +67,10 @@ class NormalOpenGLGraphics final : public Graphics
/**
* Draws a resclaled version of the image
*/
- bool drawRescaledImage(const Image *const image, int srcX, int srcY,
+ bool drawRescaledImage(const Image *const image,
int dstX, int dstY,
- const int width, const int height,
- const int desiredWidth, const int desiredHeight,
- const bool useColor) override final;
-
- /**
- * Used to get the smooth rescale option over the standard function.
- */
- 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, bool smooth);
+ const int desiredWidth,
+ const int desiredHeight) override final;
void drawPattern(const Image *const image,
const int x, const int y,