• Thomas Guillem's avatar
    opengl: use GL core symbols from *GetProcAddress · cffa2168
    Thomas Guillem authored
    Use GetProcAddress to fetch GL core symbols instead of using symbols from the
    libGL linked with the vlc gl plugin (but not for GLES2/Windows/macOS).
    
    This fixes a crash with nvidia drivers when using EGL but can also fix some
    others issues if a vendor/distrib ship more than one openGL libs.
    
    cf. https://github.com/NVIDIA/libglvnd/issues/63
    
    Symbols from the old libGL.so.1 were used instead of symbols from the new
    libOpenGL.so (that are fetched via eglGetProcAddress()).
    
    I guess that libGL.so.1 can't work with EGL with recent drivers.
    
    Fixes #19093
    
    (cherry picked from commit 744ac6ec)
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    cffa2168
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...