From 519119db3d20191955e265b2888b14eb09007a4c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 26 Sep 2014 01:47:20 +0200 Subject: Move renderer clear call from MapView to system loop --- src/control/RPGEdit.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/control') diff --git a/src/control/RPGEdit.cpp b/src/control/RPGEdit.cpp index 257a801..f42a774 100644 --- a/src/control/RPGEdit.cpp +++ b/src/control/RPGEdit.cpp @@ -71,6 +71,8 @@ void RPGEdit::systemLoop() { lastFrameTicks = SDL_GetTicks(); + SDL_RenderClear(window->getRenderer()); + { std::unique_lock lock(modelMutex); -- cgit v1.2.3