Various linux fixes(2)

This commit is contained in:
Elias Naur 2003-03-27 15:28:57 +00:00
parent d9828de0c4
commit 3733d4a21e
1 changed files with 2 additions and 2 deletions

View File

@ -3237,11 +3237,11 @@ int extgl_Initialize()
#ifdef _X11
int extgl_Open(Display *disp, int screen)
{
lib_gl_handle = dlopen("libGL.so.1", RTLD_NOW | RTLD_GLOBAL);
lib_gl_handle = dlopen("libGL.so.1", RTLD_LAZY | RTLD_GLOBAL);
if (lib_gl_handle == NULL)
return 1;
lib_glu_handle = dlopen("libGLU.so", RTLD_NOW | RTLD_GLOBAL);
lib_glu_handle = dlopen("libGLU.so", RTLD_LAZY | RTLD_GLOBAL);
if (lib_glu_handle == NULL)
return 1;
if (extgl_InitGLX(disp, screen) != 0)