diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 19:24:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:16 +0300 |
commit | 83cd167e199a60930aa1ea551304a9a8e624806c (patch) | |
tree | 90eaaf9de9ecc39273124ffdc0037a0c99d904eb /src | |
parent | 270d6d2753473955a2b691a934eb2e550d13ebc3 (diff) | |
download | mv-83cd167e199a60930aa1ea551304a9a8e624806c.tar.gz mv-83cd167e199a60930aa1ea551304a9a8e624806c.tar.bz2 mv-83cd167e199a60930aa1ea551304a9a8e624806c.tar.xz mv-83cd167e199a60930aa1ea551304a9a8e624806c.zip |
Fix fps counter in SDL2.
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 9fa220b8c..2d1a2d82b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1065,6 +1065,8 @@ int Client::gameExec() lastTickTime = tick_time; #ifdef USE_SDL2 + // +++ need check active state + frame_count++; if (gui) gui->draw(); mainGraphics->updateScreen(); |