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/mobileopenglgraphics.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/render/mobileopenglgraphics.cpp') diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index bec9c221c..5efcd8060 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -784,10 +784,7 @@ bool MobileOpenGLGraphics::calcWindow(ImageCollection *const vertCol, vert = vertCol->currentVert; } - return calcImageRect(vert, x, y, w, h, - imgRect.grid[0], imgRect.grid[2], imgRect.grid[6], imgRect.grid[8], - imgRect.grid[1], imgRect.grid[5], imgRect.grid[7], imgRect.grid[3], - imgRect.grid[4]); + return calcImageRect(vert, x, y, w, h, imgRect); } void MobileOpenGLGraphics::updateScreen() -- cgit v1.2.3-60-g2f50