mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
cocoa: don't request a depth buffer size
This commit is contained in:
parent
77be8b1240
commit
f47f741c5e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user