mesa/dxtn: make function pointers static
authorDave Airlie <airlied@gmail.com>
Sat, 15 Sep 2012 03:09:42 +0000 (13:09 +1000)
committerDave Airlie <airlied@gmail.com>
Sat, 15 Sep 2012 08:03:10 +0000 (18:03 +1000)
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>
src/mesa/main/texcompress_s3tc.c

index 8736e208fde482423618c9a0b9651b840d5a50d4..b5d7d3b9be97a9b48c07ded3cf5767b12ec6fa13 100644 (file)
@@ -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,