Denis, Could I just set the WORD_BIGENDIAN to get support for BGR24? Seems there is a an ifdef in surface_buffer.c that looks like it might work. I'm just starting to understand the directfb code (internals), so I'm sorry if I'm misunderstanding.
Thanks, Craig On Saturday 19 January 2008 1:44:25 am Denis Oliver Kropp wrote: > Craig Matsuura wrote: > > I figure I can't just fix the offsets. > > > > case 24: > > if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 16, > > 8, 0 )) > > return DSPF_RGB24; > > > > > > The return value appears to return the bit depth and format. I would > > assume a DSPF_BGR24 needs to be defined? If so what other places should > > I change? > > Yes, you can grep for DSPF_RGB24 to get a list of places. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev