mesa: fix unpack_ARGB1555_REV()
authorBrian Paul <brianp@vmware.com>
Thu, 1 Dec 2011 03:35:02 +0000 (20:35 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Dec 2011 15:07:34 +0000 (08:07 -0700)
commite10942c8e966f7ea45f6b0d3782bbe38593796ae
treea6d78adbe4ea294ae198b05d142751e5788155cd
parent478f0d228be1c184adabd1df4dd76a01061b9e24
mesa: fix unpack_ARGB1555_REV()

We weren't doing the necessary byte swap.

v2: use same arithmetic as unpack_ARGB1555() to be consistent.

Reviewed-by: Michel Dänzer <michel@daenzer.net>
src/mesa/main/format_unpack.c