diff options
author | Patric Stout <truebrain@openttd.org> | 2021-06-17 10:38:04 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-06-26 20:28:05 +0200 |
commit | 0013673fafc74034df77ce0588ea6d568f120b45 (patch) | |
tree | 91029f6731966e2fb4136b7c5d2bb78f2cd5c110 /src/newgrf.h | |
parent | 74186998a2ab7f45053aa771d179dd8aa24f0d86 (diff) | |
download | openttd-0013673fafc74034df77ce0588ea6d568f120b45.tar.xz |
Change: prevent palette updates during copying to the video driver
ThreadSanitizer rightfully notices that the game-thread could
update the palette while the draw-thread is copying it for local
use. The odds of this are very small, but nevertheless, it does
carry a very good point.
It wouldn't hurt the application in any way, but it might cause
visual glitches on the screen.
Diffstat (limited to 'src/newgrf.h')
0 files changed, 0 insertions, 0 deletions