projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7285bd
)
r600: user correct alpha blend factor
author
Andre Maasikas
<amaasikas@gmail.com>
Mon, 28 Sep 2009 07:42:35 +0000
(10:42 +0300)
committer
Alex Deucher
<alexdeucher@gmail.com>
Thu, 15 Oct 2009 15:16:53 +0000
(11:16 -0400)
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 98f116d0a6a1a48f58e3612443a1b44a7c38438c..0d1f906d84f8deaf83fd85ce978697653399efd6 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_state.c
+++ b/
src/mesa/drivers/dri/r600/r700_state.c
@@
-467,10
+467,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) {