mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
fade: fix if-else-endif logic
Origin commit data
------------------
Branch: ni/coolstream
Commit: d67de1d5ff
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-01 (Sat, 01 Oct 2016)
Origin message was:
------------------
- fade: fix if-else-endif logic
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -96,9 +96,9 @@ void COSDFader::StopFade()
|
||||
frameBuffer->setBlendMode(CNXTFB_BLEND_MODE_PER_PIXEL); // Global alpha multiplied with pixel alpha
|
||||
#else
|
||||
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
|
||||
#endif
|
||||
#if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE || (HAVE_COOL_HARDWARE && defined(BOXMODEL_APOLLO))
|
||||
usleep(60000);
|
||||
#endif
|
||||
#endif
|
||||
fadeIn = fadeOut = false;
|
||||
}
|
||||
@@ -127,9 +127,9 @@ bool COSDFader::FadeDone()
|
||||
frameBuffer->setBlendMode(CNXTFB_BLEND_MODE_PER_PIXEL); // Global alpha multiplied with pixel alpha
|
||||
#else
|
||||
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
|
||||
#endif
|
||||
#if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE || (HAVE_COOL_HARDWARE && defined(BOXMODEL_APOLLO))
|
||||
usleep(60000);
|
||||
#endif
|
||||
#endif
|
||||
} else
|
||||
frameBuffer->setBlendLevel(fadeValue);
|
||||
|
Reference in New Issue
Block a user