From e07c0aa47cc75e579a122842daf7ee0b517bd009 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 23 Feb 2020 19:11:00 +0100 Subject: [PATCH] Stop displaying an image after fading out --- src/Application.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index 98b2d4e..77e4866 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -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;