mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
8d1f3f00ad
The problem was that I was allowing changes to the palette (in this case) even before the separate display thread, which is synchronized to vsync, was done drawing. This caused the palette to change mid-render. The fix is a semaphore synchronizing the threads. svn-id: r54942