diff options
author | Jakob Bornecrantz <[email protected]> | 2011-04-23 17:01:19 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2011-04-23 17:01:19 +0200 |
commit | fed8a07ddbf0bf647300bd3e8732bfeb984054c2 (patch) | |
tree | 491ffb07b4ae21dc7e7b904b6314926e9c8d1602 /src/glu/sgi/libutil | |
parent | 97efac09b23971507cd80ae03e847b2706871b18 (diff) |
glu: Fix linux build
Diffstat (limited to 'src/glu/sgi/libutil')
-rw-r--r-- | src/glu/sgi/libutil/mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libutil/mipmap.c b/src/glu/sgi/libutil/mipmap.c index 71e76afb872..415dfaa5411 100644 --- a/src/glu/sgi/libutil/mipmap.c +++ b/src/glu/sgi/libutil/mipmap.c @@ -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); |