diff options
author | Niklas Haas <git@haasn.xyz> | 2017-09-12 06:30:10 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-09-13 20:53:17 +0200 |
commit | 293c696ddb2a3799ca055d548df8f9f2521e4a27 (patch) | |
tree | ba10540699aa2cbbc7ea3b60aa1a03da59fe42ff /audio/chmap.c | |
parent | 67d1ec8fada18896e4ea14912bde1d21542e119a (diff) | |
download | mpv-293c696ddb2a3799ca055d548df8f9f2521e4a27.tar.bz2 mpv-293c696ddb2a3799ca055d548df8f9f2521e4a27.tar.xz |
vo_opengl: use GLX_MESA_swap_control where available
This overrides the use of GLX_SGI_swap_control, because apparently
GLX_SGI_swap_control doesn't support SwapInterval(0), but the
GLX_MESA_swap_interval does.
Of course, everybody except mesa just accepts SwapInterval(0) even for
GLX_SGI_swap_control, but mesa needs to be the special snowflake here
and reject it, forcing us to load their stupid named extension instead.
Meanwhile khronos has done nothing except spit out GLX_EXT_swap_control
(not to be confused with GL_EXT_swap_control, which is exported by
WGL_EXT_swap_control), that doesn't fix the problem because mesa doesn't
implement it anyway.
What a fucking mess.
Diffstat (limited to 'audio/chmap.c')
0 files changed, 0 insertions, 0 deletions