Hi, As I am starting to make some example programs with dfb for AVR32, I get some strange colors in my images and rectangles. It seems like the RGB has become BGR, and the colors looks strange.
For instance, the df_andi example program: tux's "schnabel" becomes light blue. The color looks exactly the same as when I swap the R and B values in a yellow RGB color. The correct color value is 0xe6ca6a, but the shown value is 0x6acae6. I have the same problem when I call setcolor(thiz,r,g,b,a). Could this have anything to do with endianness on my architecture(big endian)? Is there a configure option I could switch to make things right? directfbrc: depth=32 pixelformat=RGB32 mode=320x240 fbdev=/dev/fb0 -- Kind regards, Vennlig hilsen, Nils Magnus Larsgård Summer intern - AVR APPS Group Atmel Norway _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
