projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa089e
)
swrast: init alpha value to 1.0 in opt_sample_rgb_2d()
author
Brian Paul
<brianp@vmware.com>
Mon, 22 Nov 2010 16:04:13 +0000
(09:04 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 22 Nov 2010 16:04:13 +0000
(09:04 -0700)
src/mesa/swrast/s_texfilter.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texfilter.c
b/src/mesa/swrast/s_texfilter.c
index ec281776d0d1f998fffc9a36bd8d7cdf464fa7ac..539d878ddb46483ca497bfd877288029fb83a56d 100644
(file)
--- a/
src/mesa/swrast/s_texfilter.c
+++ b/
src/mesa/swrast/s_texfilter.c
@@
-1371,6
+1371,7
@@
opt_sample_rgb_2d(struct gl_context *ctx,
rgba[k][RCOMP] = UBYTE_TO_FLOAT(texel[2]);
rgba[k][GCOMP] = UBYTE_TO_FLOAT(texel[1]);
rgba[k][BCOMP] = UBYTE_TO_FLOAT(texel[0]);
+ rgba[k][ACOMP] = 1.0F;
}
}