From 756acea23a0cc56c470bcd77c6f5638d923ab3d1 Mon Sep 17 00:00:00 2001 From: Soren Sandmann Pedersen Date: Fri, 18 May 2007 13:39:12 -0400 Subject: [PATCH] Use pixman_image_set_indexed() to make 8 bit work --- fb/fbpict.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fb/fbpict.c b/fb/fbpict.c index 324d9b272..84d19ac29 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -1036,6 +1036,10 @@ create_bits_picture (PicturePtr pict) */ pixman_image_set_clip_region (image, pict->pCompositeClip); + /* Indexed table */ + if (pict->pFormat->index.devPrivate) + pixman_image_set_indexed (image, pict->pFormat->index.devPrivate); + fbFinishAccess (pict->pDrawable); return image;