1 diff -upr a/fb_display.c b/fb_display.c
2 --- a/fb_display.c 2007-06-01 16:52:45.000000000 +0200
3 +++ b/fb_display.c 2007-06-01 16:51:43.000000000 +0200
4 @@ -307,7 +307,7 @@ void* convertRGB2FB(int fh, unsigned cha
13 @@ -335,6 +335,16 @@ void* convertRGB2FB(int fh, unsigned cha
14 fbbuff = (void *) s_fbbuff;
18 + c_fbbuff = (unsigned char *) malloc(count * 3 * sizeof(unsigned char));
19 + for(i = 0; i < (3 * count); i += 3) {
20 + /* Big endian framebuffer. */
21 + c_fbbuff[i] = rgbbuff[i+2];
22 + c_fbbuff[i+1] = rgbbuff[i+1];
23 + c_fbbuff[i+2] = rgbbuff[i];
25 + fbbuff = (void *) c_fbbuff;
29 i_fbbuff = (unsigned int *) malloc(count * sizeof(unsigned int));
30 Only in build_avr32/fbv-1.0b-modified: .fb_display.c.swp
31 Binary files build_avr32/fbv-1.0b/fb_display.o and build_avr32/fbv-1.0b-modified/fb_display.o differ
32 Binary files build_avr32/fbv-1.0b/fbv and build_avr32/fbv-1.0b-modified/fbv differ