diff options
author | Anuj Phogat <[email protected]> | 2012-09-27 17:05:24 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-07 16:29:48 -0800 |
commit | 965a24995d1bfe5c22dfc201de6c2215a3df35a7 (patch) | |
tree | ebb112a0a20edd7a21bf67c8699831dc6d880fba /src/mesa/main/texcompress.c | |
parent | 81911101eedffed5ab13bce5a76bbcd2eefaffd6 (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r-- | src/mesa/main/texcompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 3394be9f6ad..3ed0e8593b5 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -611,7 +611,7 @@ _mesa_decompress_image(gl_format format, GLuint width, GLuint height, 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 */ + fetch = _mesa_fetch_texel_2d_f_etc2_srgb8; break; case MESA_FORMAT_ETC2_RGBA8_EAC: /* fetch = _mesa_fetch_texel_2d_f_etc2_rgba8_eac; -- not implemented yet */ |