From bd38df11f43d726d2df3ad0b66b6962e08cfe1d1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 11 Sep 2006 16:39:04 +0000 Subject: Win32 fixes (SF bug 1554931) --- src/glu/sgi/libutil/mipmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/glu') diff --git a/src/glu/sgi/libutil/mipmap.c b/src/glu/sgi/libutil/mipmap.c index ea17438dd6..3e45f80871 100644 --- a/src/glu/sgi/libutil/mipmap.c +++ b/src/glu/sgi/libutil/mipmap.c @@ -6590,16 +6590,16 @@ static void halve1DimagePackedPixel(int components, * Contributed by Gerk Huisma . */ -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 # include #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"); -- cgit v1.2.3