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:
Mike Erwin
2017-04-21 16:04:03 -04:00
parent 12261aa047
commit 1beed61b76

View File

@@ -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);