From 520a495c466793c29f3e721634dfe6cc616b8ede Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 May 2014 23:56:03 +0300 Subject: Add missing const. --- src/maplayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/maplayer.h') diff --git a/src/maplayer.h b/src/maplayer.h index ad2378010..19b8f2503 100644 --- a/src/maplayer.h +++ b/src/maplayer.h @@ -141,14 +141,14 @@ class MapLayer final: public ConfigListener #ifdef USE_OPENGL void drawOGL(Graphics *const graphics); - void updateOGL(Graphics *const graphics, + void updateOGL(const Graphics *const graphics, int startX, int startY, int endX, int endY, const int scrollX, const int scrollY, const int mDebugFlags); #endif - void updateSDL(Graphics *const graphics, + void updateSDL(const Graphics *const graphics, int startX, int startY, int endX, int endY, const int scrollX, const int scrollY, -- cgit v1.2.3-70-g09d2