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
1c5d31db60
commit
eca862b240
|
@ -124,6 +124,10 @@ void DialogContainer::render()
|
||||||
|
|
||||||
cerr << "full re-render " << typeid(*this).name() << endl;
|
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
|
// Render all dialogs
|
||||||
myDialogStack.applyAll([&](Dialog*& d) {
|
myDialogStack.applyAll([&](Dialog*& d) {
|
||||||
d->render();
|
d->render();
|
||||||
|
|
Loading…
Reference in New Issue