Skip to content

Commit e210aa9

Browse files
committed
switch to calibrated colors.
Former-commit-id: 565310f
1 parent e7cf475 commit e210aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/Support/CCColor.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ - (UIColor*) UIColor
189189
#ifdef __CC_PLATFORM_MAC
190190
- (NSColor*) NSColor
191191
{
192-
return [NSColor colorWithDeviceRed:(CGFloat)_r green:(CGFloat)_g blue:(CGFloat)_b alpha:(CGFloat)_a];
192+
return [NSColor colorWithCalibratedRed:(CGFloat)_r green:(CGFloat)_g blue:(CGFloat)_b alpha:(CGFloat)_a];
193193
}
194194
#endif
195195

0 commit comments

Comments
 (0)