From 12dc9c99b9f15eb9e0c4f7cd493d776f6d4162ed Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 8 Feb 2008 16:46:12 -0700 Subject: move _mesa_format_to_type_and_comps() to texformat.c (cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256) --- src/mesa/main/texformat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/main/texformat.h') diff --git a/src/mesa/main/texformat.h b/src/mesa/main/texformat.h index f5f851ca212..18900fe08b2 100644 --- a/src/mesa/main/texformat.h +++ b/src/mesa/main/texformat.h @@ -243,4 +243,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 -- cgit v1.2.3