From Ravi Mathur, OSX/Clang 7.0.0 build fix

This commit is contained in:
Robert Osfield 2016-01-19 15:39:46 +00:00
parent e5a7c353ae
commit 2e7cfe7efa

View File

@ -173,7 +173,7 @@ static void Internal_SetAlpha(NSBitmapImageRep *imageRep, unsigned char alpha_va
NSOpenGLPFADepthSize, (NSOpenGLPixelFormatAttribute)32, // depth buffer size in bits
// NSOpenGLPFAColorSize, (NSOpenGLPixelFormatAttribute)24, // Not sure if this helps
// NSOpenGLPFAAlphaSize, (NSOpenGLPixelFormatAttribute)8, // Not sure if this helps
(NSOpenGLPixelFormatAttribute)nil
0
};
return [[[NSOpenGLPixelFormat alloc] initWithAttributes:pixel_attributes] autorelease];
}