projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a230ad2
)
r600: user correct alpha blend factor
author
Andre Maasikas
<amaasikas@gmail.com>
Mon, 28 Sep 2009 07:42:35 +0000
(10:42 +0300)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 29 Sep 2009 09:24:34 +0000
(19:24 +1000)
Signed-off-by: Dave Airlie <airlied@linux.ie>
src/mesa/drivers/dri/r600/r700_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_state.c
b/src/mesa/drivers/dri/r600/r700_state.c
index fbff109455dda17dd1f12e705c6586431bad4868..3ad6d74f536f54532776382d6d9770718d13d70a 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_state.c
+++ b/
src/mesa/drivers/dri/r600/r700_state.c
@@
-493,10
+493,10
@@
static void r700SetBlendState(GLcontext * ctx)
eqn, COLOR_COMB_FCN_shift, COLOR_COMB_FCN_mask);
SETfield(blend_reg,
- blend_factor(ctx->Color.BlendSrc
RGB
, GL_TRUE),
+ blend_factor(ctx->Color.BlendSrc
A
, GL_TRUE),
ALPHA_SRCBLEND_shift, ALPHA_SRCBLEND_mask);
SETfield(blend_reg,
- blend_factor(ctx->Color.BlendDst
RGB
, GL_FALSE),
+ blend_factor(ctx->Color.BlendDst
A
, GL_FALSE),
ALPHA_DESTBLEND_shift, ALPHA_DESTBLEND_mask);
switch (ctx->Color.BlendEquationA) {