Revision 04afa4a8 cocoa.m
b/cocoa.m | ||
---|---|---|
319 | 319 |
screen.bitsPerComponent, //bitsPerComponent |
320 | 320 |
screen.bitsPerPixel, //bitsPerPixel |
321 | 321 |
(screen.width * (screen.bitsPerComponent/2)), //bytesPerRow |
322 |
#if __LITTLE_ENDIAN__ |
|
322 |
#ifdef __LITTLE_ENDIAN__
|
|
323 | 323 |
CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB), //colorspace for OS X >= 10.4 |
324 | 324 |
kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirst, |
325 | 325 |
#else |
Also available in: Unified diff