comparison mac/dw.m @ 911:1ac9669caf86

Pick a better colorspace for new pixmaps.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 21 Apr 2011 06:37:16 +0000
parents 329f2ca62f1b
children 361d80388dc9
comparison
equal deleted inserted replaced
910:329f2ca62f1b 911:1ac9669caf86
5824 pixelsHigh:height 5824 pixelsHigh:height
5825 bitsPerSample:8 5825 bitsPerSample:8
5826 samplesPerPixel:4 5826 samplesPerPixel:4
5827 hasAlpha:YES 5827 hasAlpha:YES
5828 isPlanar:NO 5828 isPlanar:NO
5829 colorSpaceName:@"NSCalibratedRGBColorSpace" 5829 colorSpaceName:NSDeviceRGBColorSpace
5830 bytesPerRow:0 5830 bytesPerRow:0
5831 bitsPerPixel:0]; 5831 bitsPerPixel:0];
5832 [image retain]; 5832 [image retain];
5833 return pixmap; 5833 return pixmap;
5834 } 5834 }