Use pixman_image_set_indexed() to make 8 bit work

This commit is contained in:
Soren Sandmann Pedersen 2007-05-18 13:39:12 -04:00
parent 7916419a00
commit 756acea23a

View File

@ -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;