summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-08 16:46:12 -0700
committerKeith Whitwell <[email protected]>2008-09-21 22:13:54 -0700
commit12dc9c99b9f15eb9e0c4f7cd493d776f6d4162ed (patch)
treef6cc09054555637e6b9f94d1cb77cd46c0098952 /src/mesa/main/texformat.h
parentb08200237968e3129d0cb35e03b2a5514b1dcb53 (diff)
move _mesa_format_to_type_and_comps() to texformat.c
(cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
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 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