mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 13:49:34 +02:00
carbon: changed creation of global colorspaces from Generic to Device, for color accuracy
git-svn-id: trunk@26791 -
This commit is contained in:
parent
c212a2a278
commit
838897a0b2
@ -1325,8 +1325,8 @@ initialization
|
||||
|
||||
OSError(
|
||||
ATSUCreateStyle(DefaultTextStyle), 'CarbonProc.initialization', SCreateStyle);
|
||||
RGBColorSpace := CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
|
||||
GrayColorSpace := CGColorSpaceCreateWithName(kCGColorSpaceGenericGray);
|
||||
RGBColorSpace := CGColorSpaceCreateDeviceRGB;
|
||||
GrayColorSpace := CGColorSpaceCreateDeviceGray;
|
||||
|
||||
EventSpec[0].eventClass := kEventClassHIObject;
|
||||
EventSpec[0].eventKind := kEventHIObjectConstruct;
|
||||
|
Loading…
Reference in New Issue
Block a user