summaryrefslogtreecommitdiff
path: root/src/mesa/main/texformat.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-08 16:46:12 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-11 09:46:49 -0700
commit42eac65da45fb58bffdf94ab8f9860d8cee5b256 (patch)
treeff8d30066b4ecf18d33e9c6799b37d22606dfe45 /src/mesa/main/texformat.h
parent9ddb7d794bac57e63f5eb247ad3c02ba6dfb87f9 (diff)
move _mesa_format_to_type_and_comps() to texformat.c
Diffstat (limited to 'src/mesa/main/texformat.h')
-rw-r--r--src/mesa/main/texformat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/texformat.h b/src/mesa/main/texformat.h
index 55851db701..48f0fe99f2 100644
--- a/src/mesa/main/texformat.h
+++ b/src/mesa/main/texformat.h
@@ -239,4 +239,10 @@ extern const struct gl_texture_format *
_mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat,
GLenum format, GLenum type );
+
+extern void
+_mesa_format_to_type_and_comps(const struct gl_texture_format *format,
+ GLenum *datatype, GLuint *comps);
+
+
#endif