make some vars static
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 10 Sep 2005 16:20:47 +0000 (16:20 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 10 Sep 2005 16:20:47 +0000 (16:20 +0000)
src/mesa/main/texcompress_s3tc.c

index 44ab9e2acad6b0f7cf645ff354b2ce8786f4be0b..f4d77f373fd7933ea1f1c25dd5bd4a5c713b8c66 100644 (file)
@@ -69,10 +69,14 @@ dxtFetchTexelFuncExt fetch_ext_rgba_dxt1 = NULL;
 dxtFetchTexelFuncExt fetch_ext_rgba_dxt3 = NULL;
 dxtFetchTexelFuncExt fetch_ext_rgba_dxt5 = NULL;
 
-typedef void (*dxtCompressTexFuncExt)(GLint srccomps, GLint width, GLint height, const GLubyte *srcPixData, GLenum destformat, GLubyte *dest, GLint dstRowStride);
-dxtCompressTexFuncExt ext_tx_compress_dxtn = NULL;
+typedef void (*dxtCompressTexFuncExt)(GLint srccomps, GLint width,
+                                      GLint height, const GLchan *srcPixData,
+                                      GLenum destformat, GLubyte *dest,
+                                      GLint dstRowStride);
+static dxtCompressTexFuncExt ext_tx_compress_dxtn = NULL;
+
+static void *dxtlibhandle = NULL;
 
-void *dxtlibhandle = NULL;
 
 void
 _mesa_init_texture_s3tc( GLcontext *ctx )