summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-03 13:02:10 +0100
committerwm4 <wm4@nowhere>2013-03-03 15:36:56 +0100
commit979ce46c6403e70bc90348aba260c825e5189b2c (patch)
tree3d8c51cbcac6526369ad12a6cdc06a414a2b6385 /etc
parentca893689fefdac74338b41aa21fbc601ae102ff6 (diff)
downloadmpv-979ce46c6403e70bc90348aba260c825e5189b2c.tar.bz2
mpv-979ce46c6403e70bc90348aba260c825e5189b2c.tar.xz
gl_common: get rid of symbol redefinition warnings with recent Mesa
Apparently newer Mesa versions changed their <GL/glx.h> header, and unconditionally define GLX_CONTEXT_MAJOR_VERSION_ARB and others. This clashed with gl_header_fixes.h, a header which quarantines bad hacks to make compilation possible on systems with outdated GL headers. Specifically, our header was included before glx.h, so the hacks were always active, and somehow Mesa's glx.h used to deal with this by not redefining existing identifiers. Fix the gl_header_fixes.h logic so the hacks are checked after including glx.h.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions