Fix data race during palette animation with threaded blitters

This commit is contained in:
Jonathan G Rennison
2020-04-11 23:56:13 +01:00
parent c061675001
commit 4c59dfb6b1
10 changed files with 20 additions and 4 deletions

View File

@@ -1087,6 +1087,8 @@ void VideoDriver_SDL::MainLoop()
if (_draw_mutex != nullptr) draw_lock.lock();
GameLoopPaletteAnimations();
UpdateWindows();
_local_palette = _cur_palette;
} else {