[Bf-blender-cvs] [527ee3f] master: Fix T45632: motion blur (2d filter) not working - in OSX at least

Dalai Felinto noreply at git.blender.org
Fri Jul 31 21:46:03 CEST 2015


Commit: 527ee3f1f1ff81d0240c263579ef42be714cac71
Author: Dalai Felinto
Date:   Fri Jul 31 16:27:00 2015 -0300
Branches: master
https://developer.blender.org/rB527ee3f1f1ff81d0240c263579ef42be714cac71

Fix T45632: motion blur (2d filter) not working - in OSX at least

This regression was introduced in Blende 2.73a when we went through a
ghost context refactoring :(

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

M	intern/ghost/intern/GHOST_ContextCGL.mm

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

diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm
index ae7e7a6..51895e5 100644
--- a/intern/ghost/intern/GHOST_ContextCGL.mm
+++ b/intern/ghost/intern/GHOST_ContextCGL.mm
@@ -205,6 +205,9 @@ 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);




More information about the Bf-blender-cvs mailing list