diff options
author | 2001-04-16 20:41:41 +0000 | |
---|---|---|
committer | 2001-04-16 20:41:41 +0000 | |
commit | 22ad1b859911141047bc2a05c6c5ff650c3b00d0 (patch) | |
tree | 546876089e498f3a583968edb090fc280cc96977 /libvo | |
parent | f7eb664335c24bde5bf3366a3d1b712c3b36d50c (diff) |
small change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@477 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_fbdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index 7c819d9dca..36516e974f 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -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: |