From 9a5b2899e058f3ec31a4eba5575eaa3fcfe1e3f5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Sep 2011 20:16:18 -0600 Subject: mesa: added _mesa_get_uncompressed_format(), _mesa_format_num_components() --- src/mesa/main/formats.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/main/formats.h') diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index 75d93debaca..610204cb37c 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -266,4 +266,11 @@ _mesa_test_formats(void); extern gl_format _mesa_get_srgb_format_linear(gl_format format); +extern gl_format +_mesa_get_uncompressed_format(gl_format format); + +extern GLuint +_mesa_format_num_components(gl_format format); + + #endif /* FORMATS_H */ -- cgit v1.2.3