mirror of https://github.com/mpv-player/mpv
fa9a1ff0a0
glx.h recursively includes gl.h, and there is no way to prevent this. Old Mesa defines some GL symbols, but not all which mpv needs. In particular, one user who was too lazy to update his ancient Ubuntu and preferred to bother us with obscure bug reports, had Mesa headers which did not define GL 3.2, so GLsync was not defined. All in all I still think the idea of providing the GL API definitions ourselves was a good idea; just GLX should have been isolated better. But isolating GLX now is too much effort. Not sure why I'm bothering with this at all. Fixes: #7201 (unconfirmed) |
||
---|---|---|
.. | ||
angle_dynamic.c | ||
angle_dynamic.h | ||
common.c | ||
common.h | ||
context.c | ||
context.h | ||
context_android.c | ||
context_angle.c | ||
context_cocoa.c | ||
context_drm_egl.c | ||
context_dxinterop.c | ||
context_glx.c | ||
context_rpi.c | ||
context_wayland.c | ||
context_win.c | ||
context_x11egl.c | ||
egl_helpers.c | ||
egl_helpers.h | ||
formats.c | ||
formats.h | ||
gl_headers.h | ||
hwdec_d3d11egl.c | ||
hwdec_drmprime_drm.c | ||
hwdec_dxva2egl.c | ||
hwdec_dxva2gldx.c | ||
hwdec_ios.m | ||
hwdec_osx.c | ||
hwdec_rpi.c | ||
hwdec_vdpau.c | ||
libmpv_gl.c | ||
oml_sync.c | ||
oml_sync.h | ||
ra_gl.c | ||
ra_gl.h | ||
utils.c | ||
utils.h |