summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_fxt1.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-09-15 13:16:47 +1000
committerDave Airlie <airlied@gmail.com>2012-09-15 18:03:37 +1000
commitee9f5766378e3f4fbaf41e8c4d037b66793c1077 (patch)
tree7b3ca845b54fd41ad05349eb2397d29751173cbb /src/mesa/main/texcompress_fxt1.c
parentda86e62d3c582dc3a96e361692d876c956b1fd24 (diff)
downloadexternal_mesa3d-ee9f5766378e3f4fbaf41e8c4d037b66793c1077.zip
external_mesa3d-ee9f5766378e3f4fbaf41e8c4d037b66793c1077.tar.gz
external_mesa3d-ee9f5766378e3f4fbaf41e8c4d037b66793c1077.tar.bz2
mesa/fxt1: make fxt1_decode_1 static
No users outside this file. 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_fxt1.c')
-rw-r--r--src/mesa/main/texcompress_fxt1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texcompress_fxt1.c b/src/mesa/main/texcompress_fxt1.c
index 92af29a..3fc7dab 100644
--- a/src/mesa/main/texcompress_fxt1.c
+++ b/src/mesa/main/texcompress_fxt1.c
@@ -50,7 +50,7 @@ fxt1_encode (GLuint width, GLuint height, GLint comps,
const void *source, GLint srcRowStride,
void *dest, GLint destRowStride);
-void
+static void
fxt1_decode_1 (const void *texture, GLint stride,
GLint i, GLint j, GLubyte *rgba);
@@ -1619,7 +1619,7 @@ fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLubyte *rgba)
}
-void
+static void
fxt1_decode_1 (const void *texture, GLint stride, /* in pixels */
GLint i, GLint j, GLubyte *rgba)
{