summaryrefslogtreecommitdiff
path: root/src/mesa/main/texformat.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-02-13 14:21:23 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-02-13 14:21:23 +1100
commitb397a2bb203c2b28b746af7828d9ad192cde0bc1 (patch)
tree77448bf1db79ae112f057717109aaa98e5696b15 /src/mesa/main/texformat.h
parent5ba3dbe2cc8a9af5cae01f45eaf497f834400170 (diff)
parente20e89e48287808068086ec148920dd89495d813 (diff)
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
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