mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
now osx code builds successfully with both 10.5 and 10.6 SDK
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user