build: allow plain-gl build on OSX

Still requires Cocoa for various things, but no vo_opengl.

Untested. Fixes #2980 (probably).
This commit is contained in:
wm4 2016-03-26 19:39:38 +01:00
parent a4168d85ab
commit e0cf90a0c8
1 changed files with 3 additions and 3 deletions

View File

@ -777,8 +777,8 @@ video_output_features = [
check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol
), ),
}, { }, {
'name': '--desktop-gl', 'name': '--standard-gl',
'desc': 'Desktop OpengGL support', 'desc': 'Desktop standard OpengGL support',
'func': compose_checks( 'func': compose_checks(
check_statement('GL/gl.h', '(void)GL_RGB32F'), # arbitrary OpenGL 3.0 symbol check_statement('GL/gl.h', '(void)GL_RGB32F'), # arbitrary OpenGL 3.0 symbol
check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol
@ -791,7 +791,7 @@ video_output_features = [
} , { } , {
'name': '--any-gl', 'name': '--any-gl',
'desc': 'Any OpenGL (ES) support', 'desc': 'Any OpenGL (ES) support',
'deps_any': ['desktop-gl', 'android-gl'], 'deps_any': ['standard-gl', 'android-gl', 'cocoa'],
'func': check_true 'func': check_true
} , { } , {
'name': '--plain-gl', 'name': '--plain-gl',