summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r--src/resources/map/maplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index 5f3c29586..83df5d580 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -158,7 +158,7 @@ void MapLayer::draw(Graphics *const graphics,
BLOCK_END("MapLayer::draw")
}
-void MapLayer::drawSDL(Graphics *const graphics)
+void MapLayer::drawSDL(Graphics *const graphics) const
{
BLOCK_START("MapLayer::drawSDL")
MapRows::const_iterator rit = mTempRows.begin();
@@ -337,7 +337,7 @@ void MapLayer::updateOGL(Graphics *const graphics,
BLOCK_END("MapLayer::updateOGL")
}
-void MapLayer::drawOGL(Graphics *const graphics)
+void MapLayer::drawOGL(Graphics *const graphics) const
{
BLOCK_START("MapLayer::drawOGL")
MapRows::const_iterator rit = mTempRows.begin();