From 6cb74dfe3d395051f9a2e4b850979a018ac340ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Tue, 19 Jun 2007 11:23:05 -0400 Subject: [PATCH] Also store the g3 part correctly --- pixman/pixman-compose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixman/pixman-compose.c b/pixman/pixman-compose.c index d870b2a..24402da 100644 --- a/pixman/pixman-compose.c +++ b/pixman/pixman-compose.c @@ -1421,7 +1421,7 @@ fbStore_b2g3r3 (pixman_image_t *image, Split(READ(values + i)); WRITE(pixel++, ((b ) & 0xc0) | - ((g >> 3) & 0x1c) | + ((g >> 2) & 0x1c) | ((r >> 5) )); } } -- 2.7.4