diff options
author | Soren Sandmann Pedersen <sandmann@redhat.com> | 2007-05-18 13:39:12 -0400 |
---|---|---|
committer | Soren Sandmann Pedersen <sandmann@redhat.com> | 2007-05-18 14:06:21 -0400 |
commit | 756acea23a0cc56c470bcd77c6f5638d923ab3d1 (patch) | |
tree | 60a568bb9582248802b411955dae8ac01b5cb1e2 /fb | |
parent | 7916419a0092b8bf9713c0840f9e969950d7aa85 (diff) |
Use pixman_image_set_indexed() to make 8 bit work
Diffstat (limited to 'fb')
-rw-r--r-- | fb/fbpict.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |