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 3e45f808714d5e022c0ae1c2d27209d62d8ebeb4..5c28c858ec693228a4b37f99c5706f1f4c654377 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>