diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-04-21 23:04:03 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-04-21 23:04:03 +0300 |
commit | 1beed61b761d3f964f57f99235c479ff1ddfe26f (patch) | |
tree | eaaaafcc78bb0d2d8c83036969f5c5d0f9a9ce82 /intern/ghost | |
parent | 12261aa047f41eb7f0d29c3ba25d933c3f67e7fc (diff) |
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'
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextCGL.mm | 3 |
1 files changed, 0 insertions, 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); |