[cairo-commit] src/cairo-quartz-surface.c

Vladimir Vukicevic vladimir at kemper.freedesktop.org
Fri Mar 2 13:47:57 PST 2007


 src/cairo-quartz-surface.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree ab1887f4b08784789f39396b3012dffede845466 (from 2640aa7e99453f17e9a2cb9084e0760d767cfeab)
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Fri Mar 2 13:30:31 2007 -0800

    [quartz] Bug 3939 - Fix Quartz backend endianness problem
    
    Add kCGBitmapByteOrder32Host to CGImageCreate call in release_dest_image
    of Quartz surface.

diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 064f6d1..86b39f9 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -918,7 +918,7 @@ _cairo_nquartz_surface_release_dest_imag
 			     8, 32,
 			     surface->extents.width * 4,
 			     CGColorSpaceCreateDeviceRGB(),
-			     kCGImageAlphaPremultipliedFirst,
+			     kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
 			     dataProvider,
 			     NULL,
 			     false,


More information about the cairo-commit mailing list