diff options
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/gui/viewport.cpp | 4 | ||||
-rw-r--r-- | src/dyetool/gui/viewport.h | 4 |
2 files changed, 4 insertions, 4 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); } diff --git a/src/dyetool/gui/viewport.h b/src/dyetool/gui/viewport.h index 53b825066..763371338 100644 --- a/src/dyetool/gui/viewport.h +++ b/src/dyetool/gui/viewport.h @@ -69,9 +69,9 @@ class Viewport final : public WindowContainer, /** * Draws the viewport. */ - void draw(Graphics *graphics) override final A_NONNULL(2); + void draw(Graphics *const graphics) override final A_NONNULL(2); - void safeDraw(Graphics *graphics) override final A_NONNULL(2); + void safeDraw(Graphics *const graphics) override final A_NONNULL(2); /** * Implements player to keep following mouse. |