small change

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@477 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-04-16 20:41:41 +00:00
parent f7eb664335
commit 22ad1b8599
1 changed files with 2 additions and 1 deletions

View File

@ -410,7 +410,8 @@ static fb_mode_t *find_best_mode(int xres, int yres, range_t *hfreq,
static void set_bpp(struct fb_var_screeninfo *p, int bpp)
{
p->bits_per_pixel = (bpp == 15) ? 16 : bpp;
/* p->bits_per_pixel = (bpp == 15) ? 16 : bpp; */
p->bits_per_pixel = (bpp + 1) & ~1;
p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0;
switch (bpp) {
case 32: