summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index ab08d075..dbeab80a 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -57,12 +57,6 @@ class OpenGLGraphics final : public Graphics
void updateSize(int windowWidth, int windowHeight, float scale) override;
- bool drawImage(Image *image,
- int srcX, int srcY,
- int dstX, int dstY,
- int width, int height,
- bool useColor) override;
-
/**
* Draws a rescaled version of the image
*/
@@ -72,6 +66,13 @@ class OpenGLGraphics final : public Graphics
int desiredWidth, int desiredHeight,
bool useColor) override;
+ bool drawRescaledImageF(Image *image,
+ int srcX, int srcY,
+ float dstX, float dstY,
+ int width, int height,
+ float desiredWidth, float desiredHeight,
+ bool useColor) override;
+
void drawImagePattern(Image *image,
int x, int y,
int w, int h) override;