mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
nothing important
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@564 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a2c7d931db
commit
d09bcd1c65
@ -441,8 +441,11 @@ static void set_bpp(struct fb_var_screeninfo *p, int bpp)
|
||||
{
|
||||
p->bits_per_pixel = (bpp + 1) & ~1;
|
||||
p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0;
|
||||
p->transp.offset = p->transp.length = 0;
|
||||
switch (bpp) {
|
||||
case 32:
|
||||
p->transp.offset = 24;
|
||||
p->transp.length = 8;
|
||||
case 24:
|
||||
p->red.offset = 16;
|
||||
p->red.length = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user