diff options
author | Benjamin Otte <otte@gnome.org> | 2009-09-29 00:23:12 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-09-29 00:24:37 +0200 |
commit | 50163a9fafa77dd1135ca5b6b03c7ec5619687c1 (patch) | |
tree | ccec8f56c839cc04b0a85eb8c6ae76ba2e6d185b /src | |
parent | a160c8c4009e069db53bec79abd8926231de9a7f (diff) |
[xlib] Set proper bpp when computing format from masks
Fixing omission in caa9eed4646e78a62ffb49d9c4f48c0b351c7a7f
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-xlib-surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index 957e4360..fe87561d 100644 --- a/src/cairo-xlib-surface.c +++ b/src/cairo-xlib-surface.c @@ -1001,6 +1001,7 @@ _draw_image_surface (cairo_xlib_surface_t *surface, image_masks.red_mask = surface->r_mask; image_masks.green_mask = surface->g_mask; image_masks.blue_mask = surface->b_mask; + image_masks.bpp = surface->depth; ret = _pixman_format_from_masks (&image_masks, &intermediate_format); assert (ret); |