summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 14:17:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 14:17:37 +0300
commit31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8 (patch)
treeb7f2a06054bacc8208d8fb429fc811ed199b4453 /src/render/surfacegraphics.h
parent74f89c500d278b6ac668c313b63d0f1e76f4acaf (diff)
downloadmanaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.gz
manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.bz2
manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.tar.xz
manaverse-31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8.zip
Improve drawRescaledImage in renderers.
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 6b8051c6a..dc26ac05e 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -70,13 +70,9 @@ class SurfaceGraphics final : public Graphics
{ }
bool drawRescaledImage(const Image *const image A_UNUSED,
- int srcX A_UNUSED, int srcY A_UNUSED,
int dstX A_UNUSED, int dstY A_UNUSED,
- const int width A_UNUSED,
- const int height A_UNUSED,
const int desiredWidth A_UNUSED,
- const int desiredHeight A_UNUSED,
- const bool useColor A_UNUSED = false)
+ const int desiredHeight A_UNUSED)
override final
{ return false; }