projects
/
profile
/
ivi
/
psplash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c451df5
)
psplash: really fix R&B bit swapping
author
Richard Purdie
<richard.purdie@linuxfoundation.org>
Mon, 25 May 2009 10:47:37 +0000
(10:47 +0000)
committer
Richard Purdie
<richard.purdie@linuxfoundation.org>
Mon, 25 May 2009 10:47:37 +0000
(10:47 +0000)
psplash-fb.c
patch
|
blob
|
history
diff --git
a/psplash-fb.c
b/psplash-fb.c
index
a28c42e
..
6fdba6a
100644
(file)
--- a/
psplash-fb.c
+++ b/
psplash-fb.c
@@
-323,7
+323,7
@@
psplash_fb_draw_image (PSplashFB *fb,
do
{
if (img_bytes_per_pixel < 4 || *(p+3))
- psplash_fb_plot_pixel (fb, x+dx, y+dy, *(p
), *(p+1), *(p+2
));
+ psplash_fb_plot_pixel (fb, x+dx, y+dy, *(p
+2), *(p+1), *(p
));
if (++dx >= img_width) { dx=0; dy++; }
}
while (--len && (p - rle_data) < total_len);
@@
-337,7
+337,7
@@
psplash_fb_draw_image (PSplashFB *fb,
do
{
if (img_bytes_per_pixel < 4 || *(p+3))
- psplash_fb_plot_pixel (fb, x+dx, y+dy, *(p
), *(p+1), *(p+2
));
+ psplash_fb_plot_pixel (fb, x+dx, y+dy, *(p
+2), *(p+1), *(p
));
if (++dx >= img_width) { dx=0; dy++; }
p += img_bytes_per_pixel;
}