fade.cpp: fix flickering after fade out

Origin commit data
------------------
Commit: 8cd64ca24c
Author: GetAway <get-away@t-online.de>
Date: 2021-05-17 (Mon, 17 May 2021)
This commit is contained in:
GetAway
2021-05-17 20:28:18 +02:00
committed by vanhofen
parent 6cada5123f
commit 9baaf48984

View File

@@ -85,10 +85,9 @@ void COSDFader::StopFade()
{
if ( fadeIn || fadeOut ) {
g_RCInput->killTimer(fadeTimer);
usleep(FADE_TIME*10);
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
#if HAVE_SPARK_HARDWARE || (HAVE_CST_HARDWARE && defined(BOXMODEL_CST_HD2))
usleep(60000);
#endif
fadeIn = fadeOut = false;
}
}