summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_unpack.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-11-12 17:58:46 -0800
committerIan Romanick <[email protected]>2012-12-07 16:29:48 -0800
commit38d523584c918ee255c669936a4d16b1c9657e85 (patch)
treeb94253cda43206ae0430cd59c93cf0e763552859 /src/mesa/main/format_unpack.h
parente519b8a9af0f994d6b33e748ada463ff19df7ab8 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/format_unpack.h')
-rw-r--r--src/mesa/main/format_unpack.h3
1 files changed, 3 insertions, 0 deletions
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]);