summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_fxt1.c
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2004-12-15 22:57:59 +0000
committerAdam Jackson <[email protected]>2004-12-15 22:57:59 +0000
commit2719b54f532d12fe860deab12ba59e2f04ba6a7e (patch)
tree21fee6785d58477ab3bef8c035e7f32db7770997 /src/mesa/main/texcompress_fxt1.c
parent20456d6a3d18970988eedc1ab84ccde13d1ce900 (diff)
fxt1_decode_1() needs to be non-static for the tdfx and glide drivers.
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 57af65299de..0cd122fc894 100644
--- a/src/mesa/main/texcompress_fxt1.c
+++ b/src/mesa/main/texcompress_fxt1.c
@@ -45,7 +45,7 @@ fxt1_encode (GLuint width, GLuint height, GLint comps,
const void *source, GLint srcRowStride,
void *dest, GLint destRowStride);
-static void
+void
fxt1_decode_1 (const void *texture, GLint stride,
GLint i, GLint j, GLubyte *rgba);
@@ -1635,7 +1635,7 @@ fxt1_decode_1ALPHA (GLubyte *code, GLint t, GLubyte *rgba)
}
-static void
+void
fxt1_decode_1 (const void *texture, GLint stride, /* in pixels */
GLint i, GLint j, GLubyte *rgba)
{