Eliminate graphical garbage in background in fullscreen mode for Linux/Mac.

This commit is contained in:
Stephen Anthony 2020-11-14 20:41:06 -03:30
parent 3eb1ce9116
commit bda86befb4
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ void DialogContainer::render()
cerr << "full re-render " << typeid(*this).name() << endl;
// Make sure we start in a clean state (with zero'ed buffers)
if(!myOSystem.eventHandler().inTIAMode())
myOSystem.frameBuffer().clear();
// Render all dialogs
myDialogStack.applyAll([&](Dialog*& d) {
d->render();