[cairo] XPutImage fails for ARGB32 images

David Reveman c99drn at cs.umu.se
Sat Dec 6 19:01:58 PST 2003


XPutImage fails for me when compositing a ARGB32 image on a ARGB32
pixmap.

Problem seems to be that the XImage is created with depth 24.
line 260 in cairo_xlib_surface.c:
image->depth == 32 ? 24 : image->depth,

after changing that line to:
image->depth,

it works fine. Is this bad for some reason?

-- 
David Reveman ( c99drn at cs.umu.se )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20031207/75fe426a/attachment.pgp


More information about the cairo mailing list