summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texpal.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-09-12 11:45:43 -0500
committerIan Romanick <ian.d.romanick@intel.com>2011-09-19 10:04:47 -0700
commitb433e7ba073c66d974dfd8a180ab3970acf18105 (patch)
tree3aefe5207a6c9cb9da2bbba22b9aef357970add5 /src/mesa/main/texpal.h
parenta2cab751beed5d130c4085d4215f8b7ad25d9cb1 (diff)
downloadexternal_mesa3d-b433e7ba073c66d974dfd8a180ab3970acf18105.zip
external_mesa3d-b433e7ba073c66d974dfd8a180ab3970acf18105.tar.gz
external_mesa3d-b433e7ba073c66d974dfd8a180ab3970acf18105.tar.bz2
mesa: Add _mesa_cpal_compressed_format_type
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Jin Yang <jin.a.yang@intel.com>
Diffstat (limited to 'src/mesa/main/texpal.h')
-rw-r--r--src/mesa/main/texpal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/texpal.h b/src/mesa/main/texpal.h
index e180999..acfaa31 100644
--- a/src/mesa/main/texpal.h
+++ b/src/mesa/main/texpal.h
@@ -38,4 +38,8 @@ extern unsigned
_mesa_cpal_compressed_size(int level, GLenum internalFormat,
unsigned width, unsigned height);
+extern void
+_mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format,
+ GLenum *type);
+
#endif /* TEXPAL_H */