From 070c5ba7062febed095fb8e7e7d52551252c8762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 19 Aug 2012 11:12:47 +0200 Subject: [PATCH] Sdl2Context: calling redraw() in drawEvent() didn't have any effect. --- src/Contexts/Sdl2Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contexts/Sdl2Context.cpp b/src/Contexts/Sdl2Context.cpp index 074fe3edd..91f21c36c 100644 --- a/src/Contexts/Sdl2Context.cpp +++ b/src/Contexts/Sdl2Context.cpp @@ -101,8 +101,8 @@ int Sdl2Context::exec() { } if(_redraw) { - drawEvent(); _redraw = false; + drawEvent(); } else Corrade::Utility::sleep(5); }