summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2014-10-14 02:28:36 (GMT)
committerKevin Walzer <kw@codebykevin.com>2014-10-14 02:28:36 (GMT)
commit903b5884e342c291c62798cbe62c8a0ea32ef9d0 (patch)
tree3f4f9c47ea77dbe5342add39b21f30c6cfaf63e0 /macosx
parentd866577ab328a56ba71ec8868954c9f3f509a730 (diff)
downloadtk-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
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDraw.c2
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;