summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2016-10-19 12:07:05 -0700
committerwm4 <wm4@nowhere>2016-10-20 17:45:25 +0200
commit4bd3e51fbe61ae83bc9f6674646962d24ea1e075 (patch)
treeefc93ffc97d3766038dd99d3b245d9a73d401351 /wscript
parent5da510b5fc26800598aa5bbd2c30ccf2f21cf662 (diff)
downloadmpv-4bd3e51fbe61ae83bc9f6674646962d24ea1e075.tar.bz2
mpv-4bd3e51fbe61ae83bc9f6674646962d24ea1e075.tar.xz
opengl: compile against iOS OpenGLES implementation
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/wscript b/wscript
index 7dea08b8db..b309e32cd3 100644
--- a/wscript
+++ b/wscript
@@ -812,9 +812,13 @@ video_output_features = [
'deps': ['android'],
'func': check_statement('GLES3/gl3.h', '(void)GL_RGB32F'), # arbitrary OpenGL ES 3.0 symbol
} , {
+ 'name': '--ios-gl',
+ 'desc': 'iOS OpenGL ES support',
+ 'func': check_statement('OpenGLES/ES3/glext.h', '(void)GL_RGB32F'), # arbitrary OpenGL ES 3.0 symbol
+ } , {
'name': '--any-gl',
'desc': 'Any OpenGL (ES) support',
- 'deps_any': ['standard-gl', 'android-gl', 'cocoa'],
+ 'deps_any': ['standard-gl', 'android-gl', 'ios-gl', 'cocoa'],
'func': check_true
} , {
'name': '--plain-gl',