mesa: Fix unpack function for ETC2_SRGB8_PUNCHTHROUGH_ALPHA1.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Apr 2013 05:58:49 +0000 (22:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 24 Apr 2013 05:12:50 +0000 (22:12 -0700)
commitb1fded54c959c38f0e3fc3d8500250b01ccaaa3a
tree8c68a83047f70dc2aa4214b9a0bf43bcf92f56ca
parent097b39276cca921e15b64e7c978cd70801839b16
mesa: Fix unpack function for ETC2_SRGB8_PUNCHTHROUGH_ALPHA1.

We accidentally set MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1 twice,
rather than setting the RGB8 and SRGB8 formats.

NOTE: This is a candidate for stable branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63569
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/format_unpack.c