summaryrefslogtreecommitdiff
path: root/src/dyetool/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool/gui/viewport.cpp')
-rw-r--r--src/dyetool/gui/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dyetool/gui/viewport.cpp b/src/dyetool/gui/viewport.cpp
index b01d27833..786b7a4f1 100644
--- a/src/dyetool/gui/viewport.cpp
+++ b/src/dyetool/gui/viewport.cpp
@@ -86,7 +86,7 @@ void Viewport::setMap(Map *const map A_UNUSED)
{
}
-void Viewport::draw(Graphics *graphics)
+void Viewport::draw(Graphics *const graphics)
{
BLOCK_START("Viewport::draw 1")
static int lastTick = tick_time;
@@ -104,7 +104,7 @@ void Viewport::draw(Graphics *graphics)
BLOCK_END("Viewport::draw 1")
}
-void Viewport::safeDraw(Graphics *graphics)
+void Viewport::safeDraw(Graphics *const graphics)
{
Viewport::draw(graphics);
}