diff options
author | wm4 <wm4@nowhere> | 2017-04-06 08:35:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-06 08:35:47 +0200 |
commit | 755ce9dac5b42e1ccf8078d245d74643054a1197 (patch) | |
tree | 3a369e3d5548829bdf8fd9dfaf85d83a07c9724c /wscript | |
parent | 451e1f0db32250219e07c189b28b48a0866feb26 (diff) | |
download | mpv-755ce9dac5b42e1ccf8078d245d74643054a1197.tar.bz2 mpv-755ce9dac5b42e1ccf8078d245d74643054a1197.tar.xz |
build: replace android-gl check with a standard GLES3 check
There's no reason to make it Android specific, as it uses standard
include paths.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -752,9 +752,9 @@ video_output_features = [ check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol ), } , { - 'name': '--android-gl', - 'desc': 'Android OpenGL ES support', - 'deps': ['android'], + 'name': '--standard-gles3', + 'desc': 'Standard OpenGL ES 3.0 support', + 'deps_neg': [ 'standard-gl' ], 'func': check_statement('GLES3/gl3.h', '(void)GL_RGB32F'), # arbitrary OpenGL ES 3.0 symbol } , { 'name': '--ios-gl', @@ -763,7 +763,7 @@ video_output_features = [ } , { 'name': '--any-gl', 'desc': 'Any OpenGL (ES) support', - 'deps_any': ['standard-gl', 'android-gl', 'ios-gl', 'cocoa'], + 'deps_any': ['standard-gl', 'standard-gles3', 'ios-gl', 'cocoa'], 'func': check_true } , { 'name': '--plain-gl', |