mesa: use _mesa_get_srgb_format_linear() in sRGB texstore functions
authorBrian Paul <brianp@vmware.com>
Fri, 11 Apr 2014 01:00:46 +0000 (19:00 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Apr 2014 17:47:31 +0000 (11:47 -0600)
commitf61edd509b8f234e3feed76ba87b4846f0676a9f
tree0114631f6ca7071e508e2cefae2edd1858a2d04f
parentc5631b341e9b8f693ed42e4a487cb5d0c476bb9f
mesa: use _mesa_get_srgb_format_linear() in sRGB texstore functions

Instead of switch statements.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texstore.c