mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-12 01:20:17 +01:00
glu: Fix linux build
This commit is contained in:
parent
97efac09b2
commit
fed8a07ddb
1 changed files with 1 additions and 1 deletions
|
|
@ -6648,7 +6648,7 @@ static void gluTexImage3D( GLenum target, GLint level,
|
|||
pTexImage3D = (TexImage3Dproc) wglGetProcAddress("glTexImage3DEXT");
|
||||
#else
|
||||
void *libHandle = dlopen("libgl.so", RTLD_LAZY);
|
||||
pTexImage3D = TexImage3Dproc) dlsym(libHandle, "glTexImage3D" );
|
||||
pTexImage3D = (TexImage3Dproc) dlsym(libHandle, "glTexImage3D" );
|
||||
if (!pTexImage3D)
|
||||
pTexImage3D = (TexImage3Dproc) dlsym(libHandle,"glTexImage3DEXT");
|
||||
dlclose(libHandle);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue