From 07cd75d7b04836e6d4b19f35f79c9c1283458aaa Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Wed, 27 Feb 2013 22:48:34 +0000 Subject: [PATCH] fix for [#34440] motion blur (2d filter) not working in osx thanks Jens Verwiebe for the tests and review. --- intern/ghost/intern/GHOST_WindowCocoa.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 8d5f8bf89d5..6517e3fb9f9 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -514,6 +514,8 @@ GHOST_WindowCocoa::GHOST_WindowCocoa( pixelFormatAttrsWindow[i++] = NSOpenGLPFADepthSize; pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32; + pixelFormatAttrsWindow[i++] = NSOpenGLPFAAccumSize; + pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32; if (stereoVisual) pixelFormatAttrsWindow[i++] = NSOpenGLPFAStereo; @@ -556,6 +558,9 @@ GHOST_WindowCocoa::GHOST_WindowCocoa( pixelFormatAttrsWindow[i++] = NSOpenGLPFADepthSize; pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32; + + pixelFormatAttrsWindow[i++] = NSOpenGLPFAAccumSize; + pixelFormatAttrsWindow[i++] = (NSOpenGLPixelFormatAttribute) 32; if (stereoVisual) pixelFormatAttrsWindow[i++] = NSOpenGLPFAStereo;