Did you set the flag in config.h ? #define REVERSE_BYTES 1
2008/6/26, Matteo Fortini <[EMAIL PROTECTED]>: > Hi, > I'm trying to use the Fujitsu Carmine with DirectFB on a MPC512x board > (Freescale LSP) > The driver I'm currently using is the carmine_fb from the recent 2.6.26 > patches. > > The driver sets the carmine as ABGR, which is ok, and Linux shows the > tux logo with the right colors. > > However, directFB is not happy with the [EMAIL PROTECTED] [EMAIL PROTECTED] > [EMAIL PROTECTED] [EMAIL PROTECTED] format, so > to make it start I had to pretend it was a standard ARGB: > > if (dfb_fbdev_compatible_format( var, 8, 8, 8, 8, 24, 0, 8, 16 )) > return DSPF_ARGB; > > Of course this way the colors are all scrambled. > > I found a patch on the mailing list, but it doesn't apply to DirectFB > 1.1.0, so I'm wondering which version I should have applied it to. > > I did fix the rejected hunks by myself, but the resulting library is > still working with wrong colors. > > Is anyone doing similar things? > > Do you have any advice? > > Thank you in advance, > Matteo > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > -- Best Regards Nikita Egorov [EMAIL PROTECTED] [EMAIL PROTECTED] _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev