Stop displaying an image after fading out

This commit is contained in:
Maschell 2020-02-23 19:11:00 +01:00
parent 3915e03ca0
commit e07c0aa47c

View File

@ -153,15 +153,6 @@ void Application::fadeOut() {
video->waitForVSync();
}
//! one last cleared black screen
video->prepareDrcRendering();
video->drcDrawDone();
video->prepareTvRendering();
video->tvDrawDone();
video->waitForVSync();
video->tvEnable(false);
video->drcEnable(false);
}
bool Application::procUI(void) {
@ -178,8 +169,8 @@ bool Application::procUI(void) {
DEBUG_FUNCTION_LINE("PROCUI_STATUS_RELEASE_FOREGROUND\n");
if(video != NULL) {
// we can turn of the screen but we don't need to and it will display the last image
video->tvEnable(true);
video->drcEnable(true);
video->tvEnable(false);
video->drcEnable(false);
DEBUG_FUNCTION_LINE("delete fontSystem\n");
delete fontSystem;