summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
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 /src/render/graphics.cpp
parent8f018529676006ed744138a929fcc621694d6d75 (diff)
downloadplus-9bc564d99774045fa0c10f253dd54b223416bc34.tar.gz
plus-9bc564d99774045fa0c10f253dd54b223416bc34.tar.bz2
plus-9bc564d99774045fa0c10f253dd54b223416bc34.tar.xz
plus-9bc564d99774045fa0c10f253dd54b223416bc34.zip
Remove unused method from renders.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp13
1 files changed, 0 insertions, 13 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,