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

Jens Verwiebe noreply at git.blender.org
Mon Mar 10 22:31:02 CET 2014


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

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