summaryrefslogtreecommitdiffstats
path: root/waftools/checks/custom.py
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-04-26 17:43:51 +0300
committerwm4 <wm4@nowhere>2017-04-26 17:00:23 +0200
commit9d80c08441edf3e8da5180fb42eda71878e9c411 (patch)
treed92c09fe3aa5373878eb4a79cc22a5e747f9ae6e /waftools/checks/custom.py
parent3fe6b36eb095698ef8f7de9d082dd55d6f575667 (diff)
downloadmpv-9d80c08441edf3e8da5180fb42eda71878e9c411.tar.bz2
mpv-9d80c08441edf3e8da5180fb42eda71878e9c411.tar.xz
build: rely on internal GL headers for rpi check
Since mpv ships all the required OpenGL defines now, rpi check doesn't need to check system GL headers.
Diffstat (limited to 'waftools/checks/custom.py')
-rw-r--r--waftools/checks/custom.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index 8ed06e5b24..36b6822bee 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -146,10 +146,6 @@ def check_rpi(ctx, dependency_identifier):
check_pkg_config('egl'),
check_pkg_config('glesv2'),
check_cc(lib=['mmal_core', 'mmal_util', 'mmal_vc_client'], use=['bcm_host']),
- # We still need all OpenGL symbols, because the vo_opengl code is
- # generic and supports anything from GLES2/OpenGL 2.1 to OpenGL 4 core.
- 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
]
ret = all((fn(ctx, dependency_identifier) for fn in checks))