summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-10 16:20:47 +0000
committerBrian Paul <[email protected]>2005-09-10 16:20:47 +0000
commitf15b499cfd575ad8ace74d6b9047ecb1266bf7ef (patch)
tree1414234624343495a3f0efd40ecd72e1406f204f /src/mesa/main/texcompress_s3tc.c
parent392c93e3987a11b00548fab7ed2b8ca1f969c8ef (diff)
make some vars static
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.c')
-rw-r--r--src/mesa/main/texcompress_s3tc.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c
index 44ab9e2acad..f4d77f373fd 100644
--- a/src/mesa/main/texcompress_s3tc.c
+++ b/src/mesa/main/texcompress_s3tc.c
@@ -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 )