summaryrefslogtreecommitdiff
path: root/src/mesa/main/texcompress.c
diff options
context:
space:
mode:
authorAnuj Phogat <anuj.phogat@gmail.com>2012-11-12 16:28:07 -0800
committerIan Romanick <ian.d.romanick@intel.com>2012-12-07 16:29:48 -0800
commitdc86cb3705eb8af51e4a951f24bb1b67c4929dc8 (patch)
treee5984e0d2cd0a71607051dbb158158d88f8c4ba9 /src/mesa/main/texcompress.c
parent5ea8cd008426a0d92a524ccb747b8d3c02f1142a (diff)
mesa: Add decoding functions for GL_COMPRESSED_R11_EAC
Data in GL_COMPRESSED_R11_EAC format is decoded and stored in MESA_FORMAT_R16. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
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 2d4c6df85a8..3d34d9b808b 100644
--- a/src/mesa/main/texcompress.c
+++ b/src/mesa/main/texcompress.c
@@ -620,7 +620,7 @@ _mesa_decompress_image(gl_format format, GLuint width, GLuint height,
fetch = _mesa_fetch_texel_2d_f_etc2_srgb8_alpha8_eac;
break;
case MESA_FORMAT_ETC2_R11_EAC:
- /* fetch = _mesa_fetch_texel_2d_f_etc2_r11_eac; -- not implemented yet */
+ fetch = _mesa_fetch_texel_2d_f_etc2_r11_eac;
break;
case MESA_FORMAT_ETC2_RG11_EAC:
/* fetch = _mesa_fetch_texel_2d_f_etc2_rg11_eac; -- not implemented yet */