A little cleanup for Mac OSX 10.3

This commit is contained in:
David Schmidt 2012-02-25 19:19:57 +00:00
parent dd47539e6b
commit d2bcf31a45

View File

@ -313,15 +313,12 @@ dev_video_init()
else else
{ {
CGColorSpaceRef colorSpace;
int pixelsWide = 704; int pixelsWide = 704;
int pixelsHigh = 462; int pixelsHigh = 462;
bitmapBytesPerRow = (pixelsWide * 4);// 1 bitmapBytesPerRow = (pixelsWide * 4);// 1
bitmapByteCount = (bitmapBytesPerRow * pixelsHigh); bitmapByteCount = (bitmapBytesPerRow * pixelsHigh);
colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);// 2 CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
bitmapData = (char*)malloc( bitmapByteCount );// 3 bitmapData = (char*)malloc( bitmapByteCount );// 3
if (bitmapData == NULL) if (bitmapData == NULL)
{ {