From 1beed61b761d3f964f57f99235c479ff1ddfe26f Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Fri, 21 Apr 2017 16:04:03 -0400 Subject: 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' --- intern/ghost/intern/GHOST_ContextCGL.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm index 64db70197bb..f6adb362470 100644 --- a/intern/ghost/intern/GHOST_ContextCGL.mm +++ b/intern/ghost/intern/GHOST_ContextCGL.mm @@ -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); -- cgit v1.2.3