FREESCAPE: correctly redraw infoMenu in driller

This commit is contained in:
neuromancer 2024-01-04 22:12:31 +01:00
parent c6f3c4f772
commit 5deacf341f

View File

@ -353,7 +353,14 @@ void DrillerEngine::drawInfoMenu() {
break;
}
}
g_system->delayMillis(10);
_gfx->clear(0, 0, 0, true);
drawBorder();
drawUI();
if (surface)
drawFullscreenSurface(surface);
_gfx->flipBuffer();
g_system->updateScreen();
g_system->delayMillis(15); // try to target ~60 FPS
}
_savedScreen->free();