summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-09-17 14:47:56 -0700
committerIan Romanick <[email protected]>2012-12-07 16:29:48 -0800
commit81911101eedffed5ab13bce5a76bbcd2eefaffd6 (patch)
tree2074f7deb6c1281b9aa30fb67ef889d6eca70185 /src/mesa/main/texcompress.c
parent38d523584c918ee255c669936a4d16b1c9657e85 (diff)
mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2
Data in GL_COMPRESSED_RGB8_ETC2 format is decoded and stored in MESA_FORMAT_RGBX8888_REV. v2: Use CLAMP macro and stdbool.h Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r--src/mesa/main/texcompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index 58b346be394..3394be9f6ad 100644
--- a/src/mesa/main/texcompress.c
+++ b/src/mesa/main/texcompress.c
@@ -608,7 +608,7 @@ _mesa_decompress_image(gl_format format, GLuint width, GLuint height,
/* ETC2 formats */
case MESA_FORMAT_ETC2_RGB8:
- /* fetch = _mesa_fetch_texel_2d_f_etc2_rgb8; -- not implemented yet */
+ fetch = _mesa_fetch_texel_2d_f_etc2_rgb8;
break;
case MESA_FORMAT_ETC2_SRGB8:
/* fetch = _mesa_fetch_texel_2d_f_etc2_srgb8; -- not implemented yet */