[Bf-blender-cvs] [009c0c1] : OSX: change a longterm deprecated kcgl constant, could lead to crashes else

Jens Verwiebe noreply at git.blender.org
Wed Mar 12 18:15:19 CET 2014


Commit: 009c0c1f02b10a7d0c8f51fa72c6bb55d0d30f74
Author: Jens Verwiebe
Date:   Mon Mar 10 22:27:29 2014 +0100
https://developer.blender.org/rB009c0c1f02b10a7d0c8f51fa72c6bb55d0d30f74

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

===================================================================

M	intern/ghost/intern/GHOST_WindowCocoa.mm

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index a1dcbe7..737f1e5 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -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;




More information about the Bf-blender-cvs mailing list