From 38d523584c918ee255c669936a4d16b1c9657e85 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Mon, 12 Nov 2012 17:58:46 -0800 Subject: mesa: Make nonlinear_to_linear() function available outside file This patch changes nonlinear_to_linear() function to non static inline and makes it available outside format_unpack.c. Also, removes the duplicate copies in other files. Signed-off-by: Anuj Phogat Reviewed-by: Brian Paul --- src/mesa/main/format_unpack.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/format_unpack.h') diff --git a/src/mesa/main/format_unpack.h b/src/mesa/main/format_unpack.h index aad800dd15a..29c526319bc 100644 --- a/src/mesa/main/format_unpack.h +++ b/src/mesa/main/format_unpack.h @@ -24,6 +24,9 @@ #ifndef FORMAT_UNPACK_H #define FORMAT_UNPACK_H +extern GLfloat +_mesa_nonlinear_to_linear(GLubyte cs8); + extern void _mesa_unpack_rgba_row(gl_format format, GLuint n, const void *src, GLfloat dst[][4]); -- cgit v1.2.3