OpenGL/GHOST: don't request accum buffer on Mac
This was blocking core context setup on Mac, since accumulation buffers are obsolete. With this (and appropriate CMake options) I now get renderer: 'Intel HD Graphics 4000 OpenGL Engine' vendor: 'Intel Inc.' version: '4.1 INTEL-10.24.45' in system-info.txt intead of version: '2.1 INTEL-10.24.45'
This commit is contained in:
@@ -216,9 +216,6 @@ static void makeAttribList(
|
||||
attribs.push_back(NSOpenGLPFADepthSize);
|
||||
attribs.push_back((NSOpenGLPixelFormatAttribute) 32);
|
||||
|
||||
attribs.push_back(NSOpenGLPFAAccumSize);
|
||||
attribs.push_back((NSOpenGLPixelFormatAttribute) 32);
|
||||
|
||||
if (stereoVisual)
|
||||
attribs.push_back(NSOpenGLPFAStereo);
|
||||
|
||||
|
Reference in New Issue
Block a user