diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2013-02-28 02:48:34 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2013-02-28 02:48:34 +0400 |
commit | 07cd75d7b04836e6d4b19f35f79c9c1283458aaa (patch) | |
tree | 1b5e5af3b64898c755e89537c6a470582e1da0c1 /intern/ghost | |
parent | 979127582173f739f6aaf16fa259de2632a4c0d6 (diff) |
fix for [#34440] motion blur (2d filter) not working in osx
thanks Jens Verwiebe for the tests and review.
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 5 |
1 files changed, 5 insertions, 0 deletions
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; |