mesa: Fix alpha component in unpack_R8G8B8X8_SRGB.
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Tue, 16 Sep 2014 06:28:05 +0000 (16:28 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 01:56:23 +0000 (11:56 +1000)
commit3ff5c6a6c472288fa5f50d880621f38ea94b9c23
tree1276947750b30e3a773c8603d4b2a0baa652ac39
parentebcb2ee989b9839e52f2789a457fb806d1fad1e7
mesa: Fix alpha component in unpack_R8G8B8X8_SRGB.

The function was using the "X" component as the alpha channel,
rather than setting alpha to 1.0.

Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/format_unpack.c