mesa: fix/add some cases in _mesa_get_linear_internalformat()
authorBrian Paul <brianp@vmware.com>
Wed, 22 Jan 2014 00:09:10 +0000 (16:09 -0800)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Jan 2014 15:13:13 +0000 (08:13 -0700)
commitb98fa6fe6ff10f0f210d44ea411c4ee7429ab2b3
tree78630aa5bf5cded94bc0e6bb76eb4b8516d4a24e
parent91567b83bfd8979389f66635c50f36714a08a3f5
mesa: fix/add some cases in _mesa_get_linear_internalformat()

In some cases we were converting generic formats to sized formats
and vice versa.  The point is to simply convert sRGB formats to
corresponding linear formats.

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