fix for [#34440] motion blur (2d filter) not working in osx
thanks Jens Verwiebe for the tests and review.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user