summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 12:06:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commit640fc369b474e395975e82471a1e4be291d23407 (patch)
tree877823a1caf7ac5803a8ee3512fd4038af50395b /src/client.cpp
parentd80453b5cbf958084a21e624b1dcd2798f19659a (diff)
downloadplus-640fc369b474e395975e82471a1e4be291d23407.tar.gz
plus-640fc369b474e395975e82471a1e4be291d23407.tar.bz2
plus-640fc369b474e395975e82471a1e4be291d23407.tar.xz
plus-640fc369b474e395975e82471a1e4be291d23407.zip
fix images converting and drawing issues in SDL2 and OpenGL.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index aeee05c1f..090591ff4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1102,6 +1102,8 @@ int Client::gameExec()
lastTickTime = tick_time;
#ifdef USE_SDL2
+ if (gui)
+ gui->draw();
mainGraphics->updateScreen();
#else
// Update the screen when application is active, delay otherwise.