Corrected a linux gl lib loading bug

This commit is contained in:
Elias Naur 2003-04-13 09:28:01 +00:00
parent 34e1cd0d8a
commit 7455bfcef9

View file

@ -3275,7 +3275,7 @@ int extgl_Open()
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_LAZY | RTLD_GLOBAL);
lib_glu_handle = dlopen("libGLU.so.1", RTLD_LAZY | RTLD_GLOBAL);
if (lib_glu_handle == NULL)
return 1;
return 0;