summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index 2ea850eb6..ec7f5ffe6 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -311,7 +311,7 @@ void MapLayer::updateOGL(Graphics *const graphics, int startX, int startY,
lastImage = img;
// if (imgVert->image->mGLImage != lastImage->mGLImage)
// logger->log("wrong image draw");
- graphics->calcTile(imgVert, lastImage, px, py);
+ graphics->calcTileVertexes(imgVert, lastImage, px, py);
}
}
}