summaryrefslogtreecommitdiff
path: root/src/guichan/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-05 23:08:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-05 23:08:18 +0300
commit6d8828b47e291c0e85645adb60c8969a3f8facf4 (patch)
tree511891a798232bf886c93b9f5395fb7cbb933bbf /src/guichan/graphics.cpp
parent38f2d53aa706e8931c740b0d2ecd15f693b8922c (diff)
downloadplus-6d8828b47e291c0e85645adb60c8969a3f8facf4.tar.gz
plus-6d8828b47e291c0e85645adb60c8969a3f8facf4.tar.bz2
plus-6d8828b47e291c0e85645adb60c8969a3f8facf4.tar.xz
plus-6d8828b47e291c0e85645adb60c8969a3f8facf4.zip
Improve images drawing and remove some useless code.
Diffstat (limited to 'src/guichan/graphics.cpp')
-rw-r--r--src/guichan/graphics.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/guichan/graphics.cpp b/src/guichan/graphics.cpp
index 0e414827c..1c99d899e 100644
--- a/src/guichan/graphics.cpp
+++ b/src/guichan/graphics.cpp
@@ -142,10 +142,9 @@ namespace gcn
return mClipStack.top();
}
- void Graphics::drawImage(const Image* image, int dstX, int dstY)
+ void Graphics::drawImage(const Image* image A_UNUSED,
+ int dstX A_UNUSED, int dstY A_UNUSED)
{
- drawImage(image, 0, 0, dstX, dstY,
- image->getWidth(), image->getHeight());
}
void Graphics::setFont(Font* font)