forked from bartvdbraak/blender
OSX: change a longterm deprecated kcgl constant, could lead to crashes else
This commit is contained in:
parent
ac0cdec90f
commit
e913eab386
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user