diff options
author | wm4 <wm4@nowhere> | 2019-11-30 13:38:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-30 13:38:28 +0100 |
commit | fa9a1ff0a0f2ec0c37e27c30ad71ba814c7ada89 (patch) | |
tree | 5ab9d300f8271ff3ace20786f2e478e6342bdc07 /libdha/libdha.h | |
parent | 8614cb38d9f708c785bc4ffefb87673b4dd43564 (diff) | |
download | mpv-fa9a1ff0a0f2ec0c37e27c30ad71ba814c7ada89.tar.bz2 mpv-fa9a1ff0a0f2ec0c37e27c30ad71ba814c7ada89.tar.xz |
vo_gpu: opengl: add hack for ancient Mesa/GLX
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)
Diffstat (limited to 'libdha/libdha.h')
0 files changed, 0 insertions, 0 deletions