summaryrefslogtreecommitdiff
path: root/docs/openttd.6
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-20 10:27:52 +0100
committerPatric Stout <github@truebrain.nl>2021-02-20 14:25:56 +0100
commit19fdbac287374468f221d3d79aa9344314e62ade (patch)
tree19314b2e9dac7f72040a16b56a4f5454db224ad4 /docs/openttd.6
parent5fc983a1bbf0f0f118cfd9b7084bca0686f5de7e (diff)
downloadopenttd-19fdbac287374468f221d3d79aa9344314e62ade.tar.xz
Fix: [Win32] now we are drawing on a tick, no longer use WM_PAINT
WM_PAINT hits when-ever Windows feels like, but always after we marked the screen as dirty. In result, it was lagging behind, giving a sub-60fps experience. With the new draw-tick there is no longer a need to be driven by WM_PAINT, so it is better anyway to drive the drawing ourself. As an added bonus this makes the win32 driver more like the others.
Diffstat (limited to 'docs/openttd.6')
0 files changed, 0 insertions, 0 deletions