From a844999452f4ddd2986f86203ea0a8a10ef5389f Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Thu, 16 Jan 2014 09:13:33 -0500 Subject: [PATCH] Fix bug 2409 --- plugin/quartz/gvdevice_quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/quartz/gvdevice_quartz.c b/plugin/quartz/gvdevice_quartz.c index 560c080ac..af6148498 100644 --- a/plugin/quartz/gvdevice_quartz.c +++ b/plugin/quartz/gvdevice_quartz.c @@ -51,7 +51,7 @@ static void quartz_format(GVJ_t *job) BYTES_PER_PIXEL * 8, /* bits per pixel */ BYTES_PER_PIXEL * job->width, /* bytes per row: exactly width # of pixels */ color_space, /* color space: sRGB */ - kCGImageAlphaPremultipliedFirst, /* bitmap info: corresponds to CAIRO_FORMAT_ARGB32 */ + kCGImageAlphaPremultipliedFirst|kCGBitmapByteOrder32Little, /* bitmap info: corresponds to CAIRO_FORMAT_ARGB32 */ data_provider, /* data provider: from imagedata */ NULL, /* decode: don't remap colors */ FALSE, /* don't interpolate */ -- 2.40.0