diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-30 17:04:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-30 17:04:01 +0300 |
commit | 6356ac19cd30dd2774de08834ec6b7afba54a3c8 (patch) | |
tree | ec8667e401f603c88a2f64357433336e867a6a0f /src/render/graphics.h | |
parent | f98e1eb985bd5d694cd8fce323e5f4c3767dfe71 (diff) | |
download | plus-6356ac19cd30dd2774de08834ec6b7afba54a3c8.tar.gz plus-6356ac19cd30dd2774de08834ec6b7afba54a3c8.tar.bz2 plus-6356ac19cd30dd2774de08834ec6b7afba54a3c8.tar.xz plus-6356ac19cd30dd2774de08834ec6b7afba54a3c8.zip |
Improve calcImageRect in renderers.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 10 |
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, |