mirror of https://github.com/mpv-player/mpv
8178b80748
The functions glXGetProcAddressARB() and glXQueryExtensionsString() were loaded using dlsym(). This could fail when compiling to libmpv, because then dlopen(NULL, ...) will look in the main program's list of libraries, and the libGL linked to libmpv is never considered. (Don't know if this somehow could be worked around.) The result is that using vo_opengl with libmpv can fail. Avoid this by not using dlsym(). glXGetProcAddressARB() was already used directly in the same file, and that never caused any problems. (Still add it to the configure test.) glXQueryExtensionsString() is documented as added in GLX 1.1 - that's ancient. |
||
---|---|---|
.. | ||
cocoa.m | ||
coreaudio.c | ||
dvb.c | ||
gl_x11.c | ||
iconv.c | ||
lua.c | ||
lua_libquvi4.c | ||
lua_libquvi9.c | ||
oss_audio.c | ||
oss_audio_sunaudio.c | ||
pthreads.c | ||
pvr.c | ||
vcd_windows.c | ||
wasapi.c | ||
xf86vm.c | ||
xf86xk.c |