fix for [#34440] motion blur (2d filter) not working in osx

thanks Jens Verwiebe for the tests and review.
This commit is contained in:
Dalai Felinto
2013-02-27 22:48:34 +00:00
parent 9791275821
commit 07cd75d7b0

View File

@@ -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;