summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-09-15 13:09:42 +1000
committerDave Airlie <airlied@gmail.com>2012-09-15 18:03:10 +1000
commit7b10d81fc82db96d642e7d3ea63ec22197ac25a6 (patch)
treeb324f3a5bb08569f1156fa8a96941f9dab174dd1 /src/mesa/main/texcompress_s3tc.c
parent36639ec6e9a2758e344235fbdc1450719d8851e3 (diff)
downloadexternal_mesa3d-7b10d81fc82db96d642e7d3ea63ec22197ac25a6.zip
external_mesa3d-7b10d81fc82db96d642e7d3ea63ec22197ac25a6.tar.gz
external_mesa3d-7b10d81fc82db96d642e7d3ea63ec22197ac25a6.tar.bz2
mesa/dxtn: make function pointers static
These aren't used outside thie file from what I can see. Reviewed-by: Matt Turner <mattst88@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.c')
-rw-r--r--src/mesa/main/texcompress_s3tc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c
index 8736e20..b5d7d3b 100644
--- a/src/mesa/main/texcompress_s3tc.c
+++ b/src/mesa/main/texcompress_s3tc.c
@@ -91,10 +91,10 @@ nonlinear_to_linear(GLubyte cs8)
typedef void (*dxtFetchTexelFuncExt)( GLint srcRowstride, GLubyte *pixdata, GLint col, GLint row, GLvoid *texelOut );
-dxtFetchTexelFuncExt fetch_ext_rgb_dxt1 = NULL;
-dxtFetchTexelFuncExt fetch_ext_rgba_dxt1 = NULL;
-dxtFetchTexelFuncExt fetch_ext_rgba_dxt3 = NULL;
-dxtFetchTexelFuncExt fetch_ext_rgba_dxt5 = NULL;
+static dxtFetchTexelFuncExt fetch_ext_rgb_dxt1 = NULL;
+static dxtFetchTexelFuncExt fetch_ext_rgba_dxt1 = NULL;
+static dxtFetchTexelFuncExt fetch_ext_rgba_dxt3 = NULL;
+static dxtFetchTexelFuncExt fetch_ext_rgba_dxt5 = NULL;
typedef void (*dxtCompressTexFuncExt)(GLint srccomps, GLint width,
GLint height, const GLubyte *srcPixData,