projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d950b
)
gallium/u_pack: fix l8/i8 pack color ub
author
Dave Airlie
<airlied@redhat.com>
Sat, 24 Dec 2011 19:30:26 +0000
(19:30 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 27 Dec 2011 10:35:09 +0000
(10:35 +0000)
just noticed this in passing, not sure it actually fixes any issus.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmare.com>
src/gallium/auxiliary/util/u_pack_color.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_pack_color.h
b/src/gallium/auxiliary/util/u_pack_color.h
index 0bbf769a4e23aa48ec331e2364e73aa837eec943..50ec226d88783e8781cee2e3953482ca8e135e01 100644
(file)
--- 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: