diff options
author | Torbjörn Andersson | 2011-11-20 23:37:25 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2011-11-20 23:45:29 +0100 |
commit | 9f5f240e904374a47f85c08899955376f18474f6 (patch) | |
tree | 53e1d2ec029c3b093c3caa25b32546d409c37721 /common/math.h | |
parent | bc4397bf3ebc1285a1109401224d71dd140fcf2e (diff) | |
download | scummvm-rg350-9f5f240e904374a47f85c08899955376f18474f6.tar.gz scummvm-rg350-9f5f240e904374a47f85c08899955376f18474f6.tar.bz2 scummvm-rg350-9f5f240e904374a47f85c08899955376f18474f6.zip |
TOLTECS: Change the updateScreen() logic a bit
Updating the screen when getMillis() % 10 is 0 seems sub-optimal
to me. It could be true several iterations in a row (shouldn't be
harmful, since updateScreen is assumed to be cheap if the screen
hasn't changed) or we could miss it every single time. Let's
measure the time between updates instead, just to be safer.
Diffstat (limited to 'common/math.h')
0 files changed, 0 insertions, 0 deletions