replace GLAPI w/ static and init var to 0 (Michel Donais)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Sep 2006 19:00:37 +0000 (19:00 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Sep 2006 19:00:37 +0000 (19:00 +0000)
src/glu/sgi/libutil/mipmap.c

index 3e45f80..5c28c85 100644 (file)
@@ -6597,7 +6597,7 @@ typedef void (GLAPIENTRY *TexImage3Dproc)( GLenum target, GLint level,
                                                 GLenum format, GLenum type,
                                                 const GLvoid *pixels );
 
-GLAPI TexImage3Dproc pTexImage3D;
+static TexImage3Dproc pTexImage3D = 0;
 
 #ifndef _WIN32
 #  include <dlfcn.h>