summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index ea1bd7242..5f24eda2c 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -1040,10 +1040,7 @@ bool NormalOpenGLGraphics::calcWindow(ImageCollection *const vertCol,
}
const Image *const *const grid = &imgRect.grid[0];
- return calcImageRect(vert, x, y, w, h,
- grid[0], grid[2], grid[6], grid[8],
- grid[1], grid[5], grid[7], grid[3],
- grid[4]);
+ return calcImageRect(vert, x, y, w, h, imgRect);
}
void NormalOpenGLGraphics::updateScreen()