aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-28 23:31:50 +0100
committerMarc Haesen <marc@hc-consult.be>2011-12-28 23:31:50 +0100
commit9715b7fab0757c86e1bb151f3dce0b324bcff692 (patch)
tree805e01d9e21e3f5316e8827dd59173a7a5cfd4ae /mesalib/src/gallium/auxiliary/util
parent0fd2d56b0fc0ce74c5f3e5e23cb26b0d1a075ba1 (diff)
downloadvcxsrv-9715b7fab0757c86e1bb151f3dce0b324bcff692.tar.gz
vcxsrv-9715b7fab0757c86e1bb151f3dce0b324bcff692.tar.bz2
vcxsrv-9715b7fab0757c86e1bb151f3dce0b324bcff692.zip
xserver libX11 mesa xkeyboard-config git update 28 dec 2011
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util')
-rw-r--r--mesalib/src/gallium/auxiliary/util/u_pack_color.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_pack_color.h b/mesalib/src/gallium/auxiliary/util/u_pack_color.h
index 0bbf769a4..50ec226d8 100644
--- a/mesalib/src/gallium/auxiliary/util/u_pack_color.h
+++ b/mesalib/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: