aboutsummaryrefslogtreecommitdiff
path: root/common/algorithm.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2011-11-20 23:37:25 +0100
committerTorbjörn Andersson2011-11-20 23:45:29 +0100
commit9f5f240e904374a47f85c08899955376f18474f6 (patch)
tree53e1d2ec029c3b093c3caa25b32546d409c37721 /common/algorithm.h
parentbc4397bf3ebc1285a1109401224d71dd140fcf2e (diff)
downloadscummvm-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/algorithm.h')
0 files changed, 0 insertions, 0 deletions