mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 14:38:09 +02:00
Use pixman_image_set_indexed() to make 8 bit work
This commit is contained in:
parent
7916419a00
commit
756acea23a
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue