1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/waftools/fragments
wm4 8178b80748 gl_x11: always require some GLX API functions, avoid dlsym()
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.
2014-05-31 21:53:04 +02:00
..
cocoa.m build: fix cocoa configure check on OS X 10.7 2014-01-02 20:42:03 +01:00
coreaudio.c
dvb.c
gl_x11.c gl_x11: always require some GLX API functions, avoid dlsym() 2014-05-31 21:53:04 +02:00
iconv.c
lua_libquvi4.c
lua_libquvi9.c
lua.c build: fix missing prototypes in lua check fragment 2013-11-23 16:17:52 +01:00
oss_audio_sunaudio.c build: reimplement the OSS checks using a more declarative approach 2013-11-29 23:11:12 +01:00
oss_audio.c build: reimplement the OSS checks using a more declarative approach 2013-11-29 23:11:12 +01:00
pthreads.c
pvr.c build: removed undefined behavior from PVR check 2014-05-11 16:41:02 +02:00
vcd_windows.c
wasapi.c
xf86vm.c
xf86xk.c