st/mesa: use RGBA instead of BGRA for SRGB_ALPHA
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Mar 2016 20:22:16 +0000 (15:22 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 24 Mar 2016 17:23:31 +0000 (12:23 -0500)
commit6b763c026de0aa4c18bb698ddcfd25d04c73e56e
treec76df9a17df16b7cd3e86fae2a6cb9ff9860060b
parent7880b81d39e56f1d4b062519f087a053c01ee0e4
st/mesa: use RGBA instead of BGRA for SRGB_ALPHA

This fixes a regression introduced by commit a8eea696 "st/mesa: honour sized
internal formats in st_choose_format (v2)".

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94657
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94671
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_format.c