mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-24 16:46:42 +01:00
Corrected a linux gl lib loading bug
This commit is contained in:
parent
34e1cd0d8a
commit
7455bfcef9
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue