projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97efac0
)
glu: Fix linux build
author
Jakob Bornecrantz
<wallbraker@gmail.com>
Sat, 23 Apr 2011 15:01:19 +0000
(17:01 +0200)
committer
Jakob Bornecrantz
<wallbraker@gmail.com>
Sat, 23 Apr 2011 15:01:19 +0000
(17:01 +0200)
src/glu/sgi/libutil/mipmap.c
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libutil/mipmap.c
b/src/glu/sgi/libutil/mipmap.c
index 71e76afb8720ebe7652830e70b6910ddf84bd91a..415dfaa5411f95248d0f74a2655aa0cf32886370 100644
(file)
--- 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);