diff options
Diffstat (limited to 'tests/OffscreenContext.mm')
-rw-r--r-- | tests/OffscreenContext.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/OffscreenContext.mm b/tests/OffscreenContext.mm index 2bbaffa..140516f 100644 --- a/tests/OffscreenContext.mm +++ b/tests/OffscreenContext.mm @@ -33,6 +33,7 @@ OffscreenContext *create_offscreen_context(int w, int h) NSOpenGLPFANoRecovery, NSOpenGLPFAAccelerated, NSOpenGLPFADepthSize, 24, + NSOpenGLPFAStencilSize, 8, (NSOpenGLPixelFormatAttribute) 0 }; NSOpenGLPixelFormat *pixFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:attributes] autorelease]; |