OSX: change a longterm deprecated kcgl constant, could lead to crashes else

This commit is contained in:
jens verwiebe 2014-03-10 22:27:29 +01:00
parent ac0cdec90f
commit e913eab386
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(
// Force software OpenGL, for debugging
if (getenv("BLENDER_SOFTWAREGL")) {
pixelFormatAttrsWindow[i++] = NSOpenGLPFARendererID;
pixelFormatAttrsWindow[i++] = kCGLRendererGenericID;
pixelFormatAttrsWindow[i++] = kCGLRendererAppleSWID;
}
else
pixelFormatAttrsWindow[i++] = NSOpenGLPFAAccelerated;