diff options
author | Patric Stout <truebrain@openttd.org> | 2021-02-20 10:27:52 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-02-20 14:25:56 +0100 |
commit | 19fdbac287374468f221d3d79aa9344314e62ade (patch) | |
tree | 19314b2e9dac7f72040a16b56a4f5454db224ad4 /src/rail.h | |
parent | 5fc983a1bbf0f0f118cfd9b7084bca0686f5de7e (diff) | |
download | openttd-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 'src/rail.h')
0 files changed, 0 insertions, 0 deletions