mirror of https://github.com/stella-emu/stella.git
Eliminate graphical garbage in background in fullscreen mode for Linux/Mac.
This commit is contained in:
parent
3eb1ce9116
commit
bda86befb4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue