Use pixman_image_set_indexed() to make 8 bit work
This commit is contained in:
parent
7916419a00
commit
756acea23a
|
@ -1036,6 +1036,10 @@ create_bits_picture (PicturePtr pict)
|
||||||
*/
|
*/
|
||||||
pixman_image_set_clip_region (image, pict->pCompositeClip);
|
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);
|
fbFinishAccess (pict->pDrawable);
|
||||||
|
|
||||||
return image;
|
return image;
|
||||||
|
|
Loading…
Reference in New Issue