cairo/cairo-1.0.2-depth-fix-1.patch

12 lines
500 B
Diff

--- ../cairo/src/cairo-xlib-surface.c 2006-01-19 14:55:25.000000000 -0500
+++ ./src/cairo-xlib-surface.c 2006-01-19 14:55:25.000000000 -0500
@@ -675,7 +675,7 @@
ximage.bitmap_unit = 32; /* always for libpixman */
ximage.bitmap_bit_order = native_byte_order;
ximage.bitmap_pad = 32; /* always for libpixman */
- ximage.depth = image->depth;
+ ximage.depth = surface->depth;
ximage.bytes_per_line = image->stride;
ximage.bits_per_pixel = bpp;
ximage.red_mask = red;