Cross-SDK CGImageCreate
Cross-SDK CGImageCreate
- Subject: Cross-SDK CGImageCreate
- From: David Dunham <email@hidden>
- Date: Fri, 7 Oct 2005 14:08:58 -0700
If I want my code to run on Intel, I need to use
kCGBitmapByteOrder32Host. This constant doesn't exist prior to 10.4,
and I need to run on 10.2. So my first thought was simply to define
it.
But that doesn't work, since the argument of CGImageCreate has
changed in 10.4 -- it used to be CGImageAlphaInfo, and is now
CGBitmapInfo.
Short of #ifdefing the CGImageCreate all, how can I get my
| kCGBitmapByteOrder32Host
to work on pre-10.4 SDKs?
--
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden