summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,