mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
td: fix GetScreenImage() for OSD-only mode
This commit is contained in:
@@ -1206,6 +1206,8 @@ bool cVideo::GetScreenImage(unsigned char * &video, int &xres, int &yres, bool g
|
||||
/* red */
|
||||
*q = ((*q * a2 ) + (r * a)) >> 8;
|
||||
q++;
|
||||
if (! get_video)
|
||||
*q = 0xff;
|
||||
q++; /* skip alpha byte */
|
||||
}
|
||||
munmap(map, GFXFB_SIZE);
|
||||
|
Reference in New Issue
Block a user