fxt1_decode_1() needs to be non-static for the tdfx and glide drivers.
authorAdam Jackson <ajax@freedesktop.org>
Wed, 15 Dec 2004 22:57:59 +0000 (22:57 +0000)
committerAdam Jackson <ajax@freedesktop.org>
Wed, 15 Dec 2004 22:57:59 +0000 (22:57 +0000)
src/mesa/main/texcompress_fxt1.c

index 57af652..0cd122f 100644 (file)
@@ -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)
 {