diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-10-14 02:28:36 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-10-14 02:28:36 (GMT) |
commit | 903b5884e342c291c62798cbe62c8a0ea32ef9d0 (patch) | |
tree | 3f4f9c47ea77dbe5342add39b21f30c6cfaf63e0 | |
parent | d866577ab328a56ba71ec8868954c9f3f509a730 (diff) | |
download | tk-903b5884e342c291c62798cbe62c8a0ea32ef9d0.zip tk-903b5884e342c291c62798cbe62c8a0ea32ef9d0.tar.gz tk-903b5884e342c291c62798cbe62c8a0ea32ef9d0.tar.bz2 |
Fix for bug fb35eb59dd, thanks to Paul Walton for the report and Marc Culler for the patch
-rw-r--r-- | macosx/tkMacOSXDraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index ce8bf9b..0f8e051 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -463,7 +463,7 @@ CreateCGImageWithXImage( * Color image */ - CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); + CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB); bitsPerComponent = 8; bitsPerPixel = 32; |