gallium/util: util_format_srgb should not return FORMAT_NONE for sRGB formats
authorMarek Olšák <marek.olsak@amd.com>
Tue, 21 Jan 2014 18:53:45 +0000 (19:53 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 23 Jan 2014 00:47:14 +0000 (01:47 +0100)
commitd40532f260c15d56e5fa836147e02c031a999682
tree05e90f693bf121feb1c5ea6e0cce4bab654a0736
parentd382e90614ff95ddca882b897bc0885d148d2f60
gallium/util: util_format_srgb should not return FORMAT_NONE for sRGB formats

This fixes a serious regression introduced
in 4e549ddb500cf677b6fa16d9ebdfa67cc23da097.

Cc: 9.2 10.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_format.h