dc95a0eec0
Added a variation of testglxgetprocaddress that doesn't pre-load the vendor library. This forces it to generate a GLX entrypoint at runtime for glXExampleExtensionFunction. In testglxgetprocaddress.c, added a call to glXGetClientString so that it will load the vendor library without having to pre-load it.
12 lines
376 B
Bash
Executable file
12 lines
376 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source $TOP_SRCDIR/tests/glxenv.sh
|
|
|
|
# Set __GLX_FORCE_VENDOR_LIBRARY_0 instead of __GLX_VENDOR_LIBRARY_NAME. That
|
|
# way, it won't pre-load the vendor library, which would force it to generate
|
|
# a dispatch stub for glXExampleExtensionFunction.
|
|
export __GLX_FORCE_VENDOR_LIBRARY_0=$__GLX_VENDOR_LIBRARY_NAME
|
|
unset __GLX_VENDOR_LIBRARY_NAME
|
|
|
|
./testglxgetprocaddress
|