mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
it seems ATI's libGL needs to be loaded with global symbols in order to
work properly.
This commit is contained in:
parent
03a24be4de
commit
e0567f75cc
1 changed files with 5 additions and 1 deletions
|
@ -114,8 +114,12 @@ void *
|
|||
QFGL_LoadLibrary (void)
|
||||
{
|
||||
void *handle;
|
||||
int flags = RTLD_NOW;
|
||||
|
||||
if (!(handle = dlopen (gl_driver->string, RTLD_NOW))) {
|
||||
#ifdef RTLD_GLOBAL
|
||||
flags |= RTLD_GLOBAL;
|
||||
#endif
|
||||
if (!(handle = dlopen (gl_driver->string, flags))) {
|
||||
Sys_Error ("Couldn't load OpenGL library %s: %s", gl_driver->string,
|
||||
dlerror ());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue