1
0
Fork 0

Codechange: [SDL2] Only set _cur_palette, never _local_palette

pull/8622/head
Patric Stout 2021-01-16 16:27:13 +01:00 committed by Patric Stout
parent f31b65825f
commit 678031f9b3
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}