Re: [Mesa-dev] [PATCH] mesa: fix unpack_ARGB1555_REV()

2011-12-01 Thread Michel Dänzer
On Don, 2011-12-01 at 07:44 -0700, Brian Paul wrote: > We weren't doing the necessary byte swap. > > v2: use same arithmetic as unpack_ARGB1555() to be consistent. > --- > src/mesa/main/format_unpack.c |9 + > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/src/mes

[Mesa-dev] [PATCH] mesa: fix unpack_ARGB1555_REV()

2011-12-01 Thread Brian Paul
We weren't doing the necessary byte swap. v2: use same arithmetic as unpack_ARGB1555() to be consistent. --- src/mesa/main/format_unpack.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index 4b4ee6b..