summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2011-04-23 17:01:19 +0200
committerJakob Bornecrantz <wallbraker@gmail.com>2011-04-23 17:01:19 +0200
commit13f77791b25db45c26d3bd412fbcdde55bebe649 (patch)
treee9fc7d22443157ec53b447d661d544ae82539de7
parentfced8d46be1027992938409065b7e90a9f87324c (diff)
glu: Fix linux build
-rw-r--r--src/libutil/mipmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mipmap.c b/src/libutil/mipmap.c
index 71e76af..415dfaa 100644
--- a/src/libutil/mipmap.c
+++ b/src/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);