# HG changeset patch # User szabii # Date 988495517 0 # Node ID 52572e691946eec90098954ca2e31e0529d87611 # Parent ae02d4734ad625a57d3d27f8f56ec4420821e640 bpp selection fixed diff -r ae02d4734ad6 -r 52572e691946 libvo/vo_fbdev.c --- a/libvo/vo_fbdev.c Sat Apr 28 20:39:25 2001 +0000 +++ b/libvo/vo_fbdev.c Sat Apr 28 22:05:17 2001 +0000 @@ -677,9 +677,15 @@ } fb_orig_vinfo = fb_vinfo; +/* fb_bpp = (fb_vinfo.bits_per_pixel == 32) ? 32 : (fb_vinfo.red.length + fb_vinfo.green.length + fb_vinfo.blue.length); +*/ +#warning FIXME + /* nemigy kellene bpp-t meghatarozni */ + fb_bpp = (fb_vinfo.bits_per_pixel == 32) ? 32 : + (fb_vinfo.red.length + fb_vinfo.red.offset); if (vo_dbpp) { if (vo_dbpp != 15 && vo_dbpp != 16 && vo_dbpp != 24 && vo_dbpp != 32) {