From e06dcbfdc2c90b402cec257fd5e2fc843a7f708f Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Tue, 23 Oct 2012 12:22:20 -0700 Subject: mesa: Add decoding functions for GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 Data in GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 format is decoded and stored in MESA_FORMAT_SARGB. Signed-off-by: Anuj Phogat Reviewed-by: Brian Paul --- src/mesa/main/texcompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texcompress.c') diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index c05b89124d2..372a483faaa 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -635,7 +635,7 @@ _mesa_decompress_image(gl_format format, GLuint width, GLuint height, fetch = _mesa_fetch_texel_2d_f_etc2_rgb8_punchthrough_alpha1; break; case MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1: - /* fetch = _mesa_fetch_texel_2d_f_etc2_srgb8_punchthrough_alpha1; -- not implemented yet */ + fetch = _mesa_fetch_texel_2d_f_etc2_srgb8_punchthrough_alpha1; break; default: -- cgit v1.2.3