We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ae51c commit 4655754Copy full SHA for 4655754
src/_macosx.m
@@ -1205,7 +1205,7 @@ static int _copy_agg_buffer(CGContextRef cr, PyObject *renderer)
1205
const size_t bitsPerPixel = bitsPerComponent * nComponents;
1206
const size_t bytesPerRow = nComponents * bytesPerComponent * ncols;
1207
1208
- CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
+ CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
1209
if (!colorspace) {
1210
_buffer_release(buffer, NULL, 0);
1211
return 1;
0 commit comments