[Bf-blender-cvs] [1beed61b761] blender2.8: OpenGL/GHOST: don't request accum buffer on Mac
Mike Erwin
noreply at git.blender.org
Fri Apr 21 22:11:05 CEST 2017
Commit: 1beed61b761d3f964f57f99235c479ff1ddfe26f
Author: Mike Erwin
Date: Fri Apr 21 16:04:03 2017 -0400
Branches: blender2.8
https://developer.blender.org/rB1beed61b761d3f964f57f99235c479ff1ddfe26f
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'
===================================================================
M intern/ghost/intern/GHOST_ContextCGL.mm
===================================================================
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);
More information about the Bf-blender-cvs
mailing list