From 6356ac19cd30dd2774de08834ec6b7afba54a3c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 17:04:01 +0300 Subject: Improve calcImageRect in renderers. --- src/render/graphics.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/render/graphics.h') 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, -- cgit v1.2.3-70-g09d2