mesa: Fix get_texbuffer_format().
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 7 Nov 2014 09:43:32 +0000 (10:43 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jan 2015 10:20:27 +0000 (11:20 +0100)
commitb2b39ce2578870e87b892d603ad68b872c54d2ba
treeadca3932452d286dd2fae4d39aeefd6575d31234
parent96fe6191cb8c61ca5ae7c49f54db83f3b44ed126
mesa: Fix get_texbuffer_format().

We were returning incorrect mesa formats for GL_LUMINANCE_ALPHA16I_EXT
and GL_LUMINANCE_ALPHA32I_EXT.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/teximage.c