summaryrefslogtreecommitdiff
path: root/cairo-version.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-10-30 09:54:47 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-10-30 10:00:30 +0000
commit42711a5586cba5db5451ce2400ee5fe655700391 (patch)
tree6432df15b5e0485b3ae7ca66018ac8144abc4aa8 /cairo-version.h
parentc3940d342ac506055c2ce6b7e9b27f92d8a63999 (diff)
[xlib] Fix _draw_image_surface() with opaque images.
If the image was opaque with no alpha channel, we filled the output alpha with 0. Typically, the destination surface for dithering is an RGB window, so this bug went unnoticed. However, test/xlib-expose-event is an example where we generate an intermediate alpha-only pixmap for use as a stencil and this was failing as the mask was left completely transparent. The simple solution is to ensure that for opaque images, the output alpha is set to the maximum permissible value.
Diffstat (limited to 'cairo-version.h')
0 files changed, 0 insertions, 0 deletions