From: Dave Airlie <airl...@redhat.com> just noticed this in passing, not sure it actually fixes any issus.
Signed-off-by: Dave Airlie <airl...@redhat.com> --- src/gallium/auxiliary/util/u_pack_color.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/util/u_pack_color.h b/src/gallium/auxiliary/util/u_pack_color.h index 0bbf769..50ec226 100644 --- a/src/gallium/auxiliary/util/u_pack_color.h +++ b/src/gallium/auxiliary/util/u_pack_color.h @@ -122,7 +122,7 @@ util_pack_color_ub(ubyte r, ubyte g, ubyte b, ubyte a, case PIPE_FORMAT_L8_UNORM: case PIPE_FORMAT_I8_UNORM: { - uc->ub = a; + uc->ub = r; } return; case PIPE_FORMAT_R32G32B32A32_FLOAT: -- 1.7.7.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev