mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 10:59:12 +00:00
Codechange: [SDL2] Only set _cur_palette, never _local_palette
This commit is contained in:
committed by
Patric Stout
parent
f31b65825f
commit
678031f9b3
@@ -128,9 +128,9 @@ static void UpdatePalette(bool init = false)
|
||||
|
||||
static void InitPalette()
|
||||
{
|
||||
_cur_palette.first_dirty = 0;
|
||||
_cur_palette.count_dirty = 256;
|
||||
_local_palette = _cur_palette;
|
||||
_local_palette.first_dirty = 0;
|
||||
_local_palette.count_dirty = 256;
|
||||
UpdatePalette(true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user