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

@@ -1268,6 +1268,7 @@ void VideoDriver_Win32::MainLoop()
if (_draw_threaded) draw_lock.unlock();
GameLoop();
if (_draw_threaded) draw_lock.lock();
GameLoopPaletteAnimations();
if (_force_full_redraw) MarkWholeScreenDirty();