summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-28 13:42:13 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-28 13:42:13 +0300
commit9bc564d99774045fa0c10f253dd54b223416bc34 (patch)
tree79baa807150ed129184e074d9a4ae075eb73fde2
parent8f018529676006ed744138a929fcc621694d6d75 (diff)
downloadplus-9bc564d99774045fa0c10f253dd54b223416bc34.tar.gz
plus-9bc564d99774045fa0c10f253dd54b223416bc34.tar.bz2
plus-9bc564d99774045fa0c10f253dd54b223416bc34.tar.xz
plus-9bc564d99774045fa0c10f253dd54b223416bc34.zip
Remove unused method from renders.
-rw-r--r--src/render/graphics.cpp13
-rw-r--r--src/render/graphics.h8
2 files changed, 0 insertions, 21 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 83e5a45bf..9072c0a29 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -440,19 +440,6 @@ int Graphics::getHeight() const
return mHeight;
}
-bool Graphics::drawImage(const Image *image, int x, int y)
-{
- if (image)
- {
- return drawImage2(image, 0, 0, x, y,
- image->mBounds.w, image->mBounds.h, false);
- }
- else
- {
- return false;
- }
-}
-
void Graphics::drawImageRect(const int x, const int y,
const int w, const int h,
const Image *const topLeft,
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 5bb82e40d..2aa850d41 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -150,14 +150,6 @@ class Graphics : public gcn::Graphics
*/
virtual bool resizeScreen(const int width, const int height);
- /**
- * Blits an image onto the screen.
- *
- * @return <code>true</code> if the image was blitted properly
- * <code>false</code> otherwise.
- */
- bool drawImage(const Image *image, int x, int y);
-
// override unused abstract function
void drawImage(const gcn::Image* image A_UNUSED,
int srcX A_UNUSED, int srcY A_UNUSED,