cocoa: don't request a depth buffer size

This commit is contained in:
Stefano Pigozzi 2012-05-15 09:29:40 +02:00
parent 77be8b1240
commit f47f741c5e
1 changed files with 0 additions and 2 deletions

View File

@ -257,8 +257,6 @@ int vo_cocoa_create_window(struct vo *vo, uint32_t d_width,
return -1;
}
attr[i++] = NSOpenGLPFADoubleBuffer; // double buffered
attr[i++] = NSOpenGLPFADepthSize;
attr[i++] = (NSOpenGLPixelFormatAttribute)16; // 16 bit depth buffer
attr[i] = (NSOpenGLPixelFormatAttribute)0;
s->pixelFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:attr] autorelease];