mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
driver/framebuffer.cpp: move fade sleep workaround to fade.cpp
This commit is contained in:
@@ -88,6 +88,7 @@ void COSDFader::Stop()
|
||||
{
|
||||
if ( fadeIn || fadeOut ) {
|
||||
g_RCInput->killTimer(fadeTimer);
|
||||
usleep(40000);
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
frameBuffer->setBlendMode(CNXTFB_BLEND_MODE_PER_PIXEL); // Global alpha multiplied with pixel alpha
|
||||
#else
|
||||
|
@@ -543,7 +543,7 @@ void CFrameBuffer::setBlendLevel(int level)
|
||||
|
||||
if (ioctl(fd, FBIO_SETOPACITY, value))
|
||||
printf("FBIO_SETOPACITY failed.\n");
|
||||
#ifndef ISAPOLLO
|
||||
#if 0
|
||||
if(level == 100) // TODO: sucks.
|
||||
usleep(20000);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user