projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42419a
)
Store a2b2g2r2 pixel through the WRITE macro
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Mon, 30 Aug 2010 04:16:07 +0000
(
00:16
-0400)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Wed, 8 Sep 2010 23:14:58 +0000
(19:14 -0400)
Otherwise, accessor functions won't work.
pixman/pixman-access.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-access.c
b/pixman/pixman-access.c
index
56de711
..
f1ce0ba
100644
(file)
--- a/
pixman/pixman-access.c
+++ b/
pixman/pixman-access.c
@@
-2425,11
+2425,11
@@
store_scanline_a2b2g2r2 (bits_image_t * image,
{
SPLIT_A (values[i]);
- *(pixel++) =
- ((a ) & 0xc0) |
- ((b >> 2) & 0x30) |
- ((g >> 4) & 0x0c) |
-
((r >> 6)
);
+ WRITE (image, pixel++,
+
((a ) & 0xc0) |
+
((b >> 2) & 0x30) |
+
((g >> 4) & 0x0c) |
+
((r >> 6) )
);
}
}