mirror of https://github.com/microsoft/vcpkg.git
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
diff --git a/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm b/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
index 60da342..6bf2e30 100644
|
|
--- a/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
+++ b/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
@@ -642,7 +642,7 @@ long GetDictionaryLong(CFDictionaryRef theDict, const void* key)
|
|
NSOpenGLPFASamples, (NSOpenGLPixelFormatAttribute)CreationParams.AntiAlias,
|
|
NSOpenGLPFAStencilSize, (NSOpenGLPixelFormatAttribute)(CreationParams.Stencilbuffer?1:0),
|
|
NSOpenGLPFADoubleBuffer,
|
|
- (NSOpenGLPixelFormatAttribute)nil
|
|
+ (NSOpenGLPixelFormatAttribute)0
|
|
};
|
|
|
|
if (CreationParams.AntiAlias<2)
|
|
@@ -668,7 +668,7 @@ long GetDictionaryLong(CFDictionaryRef theDict, const void* key)
|
|
{
|
|
// Third try without Doublebuffer
|
|
os::Printer::log("No doublebuffering available.", ELL_WARNING);
|
|
- windowattribs[14]=(NSOpenGLPixelFormatAttribute)nil;
|
|
+ windowattribs[14]=(NSOpenGLPixelFormatAttribute)0;
|
|
}
|
|
|
|
format = [[NSOpenGLPixelFormat alloc] initWithAttributes:windowattribs];
|