summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 17:04:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 17:04:01 +0300
commit6356ac19cd30dd2774de08834ec6b7afba54a3c8 (patch)
treeec8667e401f603c88a2f64357433336e867a6a0f /src/render/graphics.h
parentf98e1eb985bd5d694cd8fce323e5f4c3767dfe71 (diff)
downloadmv-6356ac19cd30dd2774de08834ec6b7afba54a3c8.tar.gz
mv-6356ac19cd30dd2774de08834ec6b7afba54a3c8.tar.bz2
mv-6356ac19cd30dd2774de08834ec6b7afba54a3c8.tar.xz
mv-6356ac19cd30dd2774de08834ec6b7afba54a3c8.zip
Improve calcImageRect in renderers.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 93d2c5276..93b2977d6 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -180,15 +180,7 @@ class Graphics : public gcn::Graphics
bool calcImageRect(ImageVertexes *const vert,
const int x, const int y,
const int w, const int h,
- const Image *const topLeft,
- const Image *const topRight,
- const Image *const bottomLeft,
- const Image *const bottomRight,
- const Image *const top,
- const Image *const right,
- const Image *const bottom,
- const Image *const left,
- const Image *const center);
+ const ImageRect &imgRect);
virtual void calcPattern(ImageVertexes *const vert,
const Image *const image,