diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-30 14:17:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-30 14:17:37 +0300 |
commit | 31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8 (patch) | |
tree | b7f2a06054bacc8208d8fb429fc811ed199b4453 /src/render/graphics.h | |
parent | 74f89c500d278b6ac668c313b63d0f1e76f4acaf (diff) | |
download | manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.gz manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.bz2 manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.xz manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.zip |
Improve drawRescaledImage in renderers.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index a0c0c64eb..e1d4f1ec4 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -152,12 +152,10 @@ class Graphics : public gcn::Graphics /** * Draws a resclaled version of the image */ - virtual bool drawRescaledImage(const Image *const image, int srcX, - int srcY, int dstX, int dstY, - const int width, const int height, + virtual bool drawRescaledImage(const Image *const image, + int dstX, int dstY, const int desiredWidth, - const int desiredHeight, - const bool useColor = false) = 0; + const int desiredHeight) = 0; virtual void drawPattern(const Image *const image, const int x, const int y, |