diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-24 12:08:37 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-01-30 21:43:59 +0100 |
commit | 30e69c518bc928bd0907c7bd8eac5f00c400f863 (patch) | |
tree | 935c076fc0eea482b6eaa41de6bad16b0c6004a4 /media/openttd.48.png | |
parent | eb80fefd1db73dcc2cfd9439749dfaea42dee89f (diff) | |
download | openttd-30e69c518bc928bd0907c7bd8eac5f00c400f863.tar.xz |
Codechange: [SDL2] Rework how palette is updated
It now follows more what the Win32 driver does, and has far less
exceptions and special casing.
MakePalette creates the Palette and prepares surface.
UpdatePalette updates the Palette.
CheckPaletteAnim checks if UpdatePalette needs to be called and
marks the whole screen dirty so DrawSurfaceToScreen will do a
full redraw.
Diffstat (limited to 'media/openttd.48.png')
0 files changed, 0 insertions, 0 deletions