From 965a24995d1bfe5c22dfc201de6c2215a3df35a7 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Thu, 27 Sep 2012 17:05:24 -0700 Subject: mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2 Data in GL_COMPRESSED_SRGB8_ETC2 format is decoded and stored in MESA_FORMAT_SARGB8. Signed-off-by: Anuj Phogat Reviewed-by: Brian Paul --- src/mesa/main/texstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texstore.c') diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 0908b33e54f..3bafd235471 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -4125,7 +4125,7 @@ _mesa_get_texstore_func(gl_format format) table[MESA_FORMAT_SIGNED_LA_LATC2] = _mesa_texstore_signed_rg_rgtc2; table[MESA_FORMAT_ETC1_RGB8] = _mesa_texstore_etc1_rgb8; table[MESA_FORMAT_ETC2_RGB8] = _mesa_texstore_etc2_rgb8; - /* table[MESA_FORMAT_ETC2_SRGB8] = _mesa_texstore_etc2_srgb8; -- not implemented yet */ + table[MESA_FORMAT_ETC2_SRGB8] = _mesa_texstore_etc2_srgb8; /* table[MESA_FORMAT_ETC2_RGBA8_EAC] = _mesa_texstore_etc2_rgba8_eac; -- not implemented yet */ /* table[MESA_FORMAT_ETC2_SRGB8_ALPHA8_EAC] = _mesa_texstore_etc2_srgb8_alpha8_eac; -- not implemented yet */ /* table[MESA_FORMAT_ETC2_R11_EAC] = _mesa_texstore_etc2_r11_eac; -- not implemented yet */ -- cgit v1.2.3