cocoa: fix fullscreen regression on 10.11 and newer

Fixes #3364.
This commit is contained in:
Akemi 2016-09-24 04:54:27 +02:00 committed by wm4
parent f0ab9f05f1
commit 9f30cd8292
1 changed files with 0 additions and 1 deletions

View File

@ -54,7 +54,6 @@ static CGLError test_gl_version(struct vo *vo,
CGLPixelFormatAttribute attrs[] = { CGLPixelFormatAttribute attrs[] = {
kCGLPFAOpenGLProfile, kCGLPFAOpenGLProfile,
(CGLPixelFormatAttribute) version, (CGLPixelFormatAttribute) version,
kCGLPFADoubleBuffer,
kCGLPFAAccelerated, kCGLPFAAccelerated,
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8
// leave this as the last entry of the array to not break the fallback // leave this as the last entry of the array to not break the fallback