now osx code builds successfully with both 10.5 and 10.6 SDK

This commit is contained in:
xant
2010-04-17 15:18:43 +02:00
parent 33adb92eff
commit a58c014f88
3 changed files with 26 additions and 10 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
options:nil] retain];
#else
// deprecated in 10.6
ciContext = [[CIContext contextWithCGLContext:(CGLContextObj)[currentContext CGLContextObj]
ciContext = [[CIContext contextWithCGLContext:(CGLContextObj)[[self openGLContext] CGLContextObj]
pixelFormat:(CGLPixelFormatObj)[[self pixelFormat] CGLPixelFormatObj]
options:[NSDictionary dictionaryWithObjectsAndKeys:
(id)colorSpace,kCIContextOutputColorSpace,