mesa: add missing ETC2_SRGB cases in formats.c
authorBrian Paul <brianp@vmware.com>
Wed, 22 Jan 2014 00:08:18 +0000 (16:08 -0800)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Jan 2014 15:13:13 +0000 (08:13 -0700)
commit91567b83bfd8979389f66635c50f36714a08a3f5
tree7f54035e64234e774e2cdb479419e07dc7d72b6b
parentab6f9fccd4f90949ee21e5f5e90cdf152815304b
mesa: add missing ETC2_SRGB cases in formats.c

In the _mesa_get_format_color_encoding() and _mesa_get_srgb_format_linear()
functions.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/formats.c