[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54912] trunk/blender/intern/ghost/intern/ GHOST_WindowCocoa.mm: fix for [#34440] motion blur (2d filter) not working in osx
Dalai Felinto
dfelinto at gmail.com
Wed Feb 27 23:48:35 CET 2013
Revision: 54912
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54912
Author: dfelinto
Date: 2013-02-27 22:48:34 +0000 (Wed, 27 Feb 2013)
Log Message:
-----------
fix for [#34440] motion blur (2d filter) not working in osx
thanks Jens Verwiebe for the tests and review.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm 2013-02-27 17:48:07 UTC (rev 54911)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm 2013-02-27 22:48:34 UTC (rev 54912)
@@ -514,6 +514,8 @@
pixelFormatAttrsWindow[i++] = NSOpenGLPFADepthSize;
pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32;
+ pixelFormatAttrsWindow[i++] = NSOpenGLPFAAccumSize;
+ pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32;
if (stereoVisual) pixelFormatAttrsWindow[i++] = NSOpenGLPFAStereo;
@@ -556,6 +558,9 @@
pixelFormatAttrsWindow[i++] = NSOpenGLPFADepthSize;
pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32;
+
+ pixelFormatAttrsWindow[i++] = NSOpenGLPFAAccumSize;
+ pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32;
if (stereoVisual) pixelFormatAttrsWindow[i++] = NSOpenGLPFAStereo;
More information about the Bf-blender-cvs
mailing list