diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llwindow/llwindowmacosx-objc.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llwindow/llwindowmacosx-objc.mm b/linden/indra/llwindow/llwindowmacosx-objc.mm index e961070..abe8c5d 100644 --- a/linden/indra/llwindow/llwindowmacosx-objc.mm +++ b/linden/indra/llwindow/llwindowmacosx-objc.mm | |||
@@ -49,7 +49,7 @@ BOOL decodeImageQuartz(const UInt8* data, int len, LLImageRaw *raw_image) | |||
49 | CFDataRef theData = CFDataCreate(kCFAllocatorDefault, data, len); | 49 | CFDataRef theData = CFDataCreate(kCFAllocatorDefault, data, len); |
50 | CGImageSourceRef srcRef = CGImageSourceCreateWithData(theData, NULL); | 50 | CGImageSourceRef srcRef = CGImageSourceCreateWithData(theData, NULL); |
51 | CGImageRef image_ref = CGImageSourceCreateImageAtIndex(srcRef, 0, NULL); | 51 | CGImageRef image_ref = CGImageSourceCreateImageAtIndex(srcRef, 0, NULL); |
52 | CFShow(CGImageGetColorSpace(image_ref)); | 52 | |
53 | size_t width = CGImageGetWidth(image_ref); | 53 | size_t width = CGImageGetWidth(image_ref); |
54 | size_t height = CGImageGetHeight(image_ref); | 54 | size_t height = CGImageGetHeight(image_ref); |
55 | size_t comps = CGImageGetBitsPerPixel(image_ref) / 8; | 55 | size_t comps = CGImageGetBitsPerPixel(image_ref) / 8; |