0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

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.
This commit is contained in:
Ilya Tumaykin 2017-04-26 17:43:51 +03:00 committed by wm4
parent 3fe6b36eb0
commit 9d80c08441

View File

@ -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))