Marco Cavallini [KOAN] wrote: > Denis Oliver Kropp ha scritto: >> diff -urNp DirectFB-1.1.1-orig/systems/fbdev/fbdev.c >> DirectFB-1.1.1-bgr24/systems/fbdev/fbdev.c >> --- DirectFB-1.1.1-orig/systems/fbdev/fbdev.c 2008-01-18 >> 21:29:37.000000000 +0100 >> +++ DirectFB-1.1.1-bgr24/systems/fbdev/fbdev.c 2008-02-09 >> 11:49:32.000000000 +0100 >> @@ -1505,9 +1505,11 @@ static DFBSurfacePixelFormat dfb_fbdev_g >> break; >> >> case 24: >> - if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 16, >> 8, 0 )) >> + if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 16, 8, >> 0 )) >> return DSPF_RGB24; >> - >> + if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 8, 16, 0, 0 >> )) // BGR24 (MCK) >> >> >> =======> What does fbset -i tell you? > > # fbset -i > > mode "320x240-58" > # D: 6.220 MHz, H: 14.201 kHz, V: 57.963 Hz > geometry 320 240 320 240 24 > timings 160771 68 20 1 1 30 3 > accel false > rgba 8/0,8/8,8/16,0/0 > endmode
Then your code was wrong and Ville is right :) -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev