summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-26 19:39:38 +0100
committerwm4 <wm4@nowhere>2016-03-26 19:39:38 +0100
commite0cf90a0c83c2bea51fa38f1f2a4c5c49f8c1dc5 (patch)
tree0ceadae62c12c575e4cdca2d8e46ae1000430489 /wscript
parenta4168d85ab8ba920363cc97aa17c21ce1099d925 (diff)
downloadmpv-e0cf90a0c83c2bea51fa38f1f2a4c5c49f8c1dc5.tar.bz2
mpv-e0cf90a0c83c2bea51fa38f1f2a4c5c49f8c1dc5.tar.xz
build: allow plain-gl build on OSX
Still requires Cocoa for various things, but no vo_opengl. Untested. Fixes #2980 (probably).
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 7d09a7ddbf..47639d303e 100644
--- a/wscript
+++ b/wscript
@@ -777,8 +777,8 @@ video_output_features = [
check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol
),
}, {
- 'name': '--desktop-gl',
- 'desc': 'Desktop OpengGL support',
+ 'name': '--standard-gl',
+ 'desc': 'Desktop standard OpengGL support',
'func': compose_checks(
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
@@ -791,7 +791,7 @@ video_output_features = [
} , {
'name': '--any-gl',
'desc': 'Any OpenGL (ES) support',
- 'deps_any': ['desktop-gl', 'android-gl'],
+ 'deps_any': ['standard-gl', 'android-gl', 'cocoa'],
'func': check_true
} , {
'name': '--plain-gl',