diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-09-11 16:39:04 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-09-11 16:39:04 +0000 |
commit | bbc956e3b83301c07fca9b8b65c8f5d67a197fb6 (patch) | |
tree | af3a04b94eb6752a941c91e0a4c1c4b5cd76d5f8 /src/libutil | |
parent | 3fa02312b4e2e86a743da38fac70daef10225c56 (diff) | |
download | glu-bbc956e3b83301c07fca9b8b65c8f5d67a197fb6.tar.gz |
Win32 fixes (SF bug 1554931)
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/mipmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/mipmap.c b/src/libutil/mipmap.c index ea17438..3e45f80 100644 --- a/src/libutil/mipmap.c +++ b/src/libutil/mipmap.c @@ -6590,16 +6590,16 @@ static void halve1DimagePackedPixel(int components, * Contributed by Gerk Huisma <gerk@five-d.demon.nl>. */ -typedef GLAPI void (GLAPIENTRY *TexImage3Dproc)( GLenum target, GLint level, +typedef void (GLAPIENTRY *TexImage3Dproc)( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); -static TexImage3Dproc pTexImage3D; +GLAPI TexImage3Dproc pTexImage3D; -#ifndef WIN32 +#ifndef _WIN32 # include <dlfcn.h> # include <sys/types.h> #else @@ -6614,7 +6614,7 @@ static void gluTexImage3D( GLenum target, GLint level, const GLvoid *pixels ) { if (!pTexImage3D) { -#ifdef WIN32 +#ifdef _WIN32 pTexImage3D = (TexImage3Dproc) wglGetProcAddress("glTexImage3D"); if (!pTexImage3D) pTexImage3D = (TexImage3Dproc) wglGetProcAddress("glTexImage3DEXT"); |