]> git.sesse.net Git - nageru/commit
Fix a problem where the previews would flicker.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 21 Apr 2018 09:29:55 +0000 (11:29 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 21 Apr 2018 09:29:55 +0000 (11:29 +0200)
commitfc8fb149109f0c12964d53b0dc2dc0f42ef1fc3a
treeba498ddba8b73ca47ab0bdb883758233f90b5be9
parent33ea800ccb4795e71912ffecf7d85a031bb03123
Fix a problem where the previews would flicker.

When setting up a new frame, we'd set LiveInputWrapper state
(ie., which textures should FlatInput girender from) for all
chains, even preview chains which were just about to get rendered.
Those could then render from the wrong texture number -- and worse,
that texture was still in the process of being uploaded, causing
corrupted display.

There are probably still concurrency bugs left here, but this was
the biggest and most annoying one.
mixer.cpp
theme.cpp
theme.h