Bug #7169: Attempt to make libGL symbols visible to drivers.
authorMichel Dänzer <michel@daenzer.net>
Mon, 14 Aug 2006 15:53:37 +0000 (15:53 +0000)
committerMichel Dänzer <michel@daenzer.net>
Mon, 14 Aug 2006 15:53:37 +0000 (15:53 +0000)
commit061a3fe34051327fba418cc99599ecff0016ee15
tree0990885d1739c7ec1f8fc216f28b78db526fc76d
parent24cd8e22f5a0fda3a0811976b07755bd8cecb75c
Bug #7169: Attempt to make libGL symbols visible to drivers.

Some applications end up dlopening libGL without RTLD_GLOBAL, so the libGL
symbols referenced by the driver can't be unresolved when libGL dlopens it.
This attempts to make the libGL symbols visible to the driver by dlopening
libGL (again) with RTLD_GLOBAL before dlopening the driver and dlclosing
the obtained handle afterwards.
src/glx/x11/dri_glx.c