Fix data race during palette animation with threaded blitters
This commit is contained in:
@@ -1087,6 +1087,8 @@ void VideoDriver_SDL::MainLoop()
|
||||
|
||||
if (_draw_mutex != nullptr) draw_lock.lock();
|
||||
|
||||
GameLoopPaletteAnimations();
|
||||
|
||||
UpdateWindows();
|
||||
_local_palette = _cur_palette;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user