mirror of https://github.com/mpv-player/mpv
parent
c3d17ece7b
commit
1927f4535c
|
@ -348,6 +348,9 @@ static int create_gl_context(struct vo *vo, int gl3profile)
|
||||||
(CGLPixelFormatAttribute) cgl_profile(gl3profile),
|
(CGLPixelFormatAttribute) cgl_profile(gl3profile),
|
||||||
kCGLPFADoubleBuffer,
|
kCGLPFADoubleBuffer,
|
||||||
kCGLPFAAccelerated,
|
kCGLPFAAccelerated,
|
||||||
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8
|
||||||
|
kCGLPFASupportsAutomaticGraphicsSwitching,
|
||||||
|
#endif
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue