diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-05 23:08:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-05 23:08:18 +0300 |
commit | 6d8828b47e291c0e85645adb60c8969a3f8facf4 (patch) | |
tree | 511891a798232bf886c93b9f5395fb7cbb933bbf /src/guichan/graphics.cpp | |
parent | 38f2d53aa706e8931c740b0d2ecd15f693b8922c (diff) | |
download | mv-6d8828b47e291c0e85645adb60c8969a3f8facf4.tar.gz mv-6d8828b47e291c0e85645adb60c8969a3f8facf4.tar.bz2 mv-6d8828b47e291c0e85645adb60c8969a3f8facf4.tar.xz mv-6d8828b47e291c0e85645adb60c8969a3f8facf4.zip |
Improve images drawing and remove some useless code.
Diffstat (limited to 'src/guichan/graphics.cpp')
-rw-r--r-- | src/guichan/graphics.cpp | 5 |
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) |