aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-07-20 19:33:05 -0400
committerAlex Deucher <[email protected]>2009-07-20 19:33:05 -0400
commit6617fa6fab2df5d3d8085affac019f90101bb7a8 (patch)
treede30b8bc0ebb35af8bb27caefb88ab32e9db727b
parentcc893d9a98255d3c26df7123ba5cc02e478c9328 (diff)
r600: fix typo in blend code
-rw-r--r--src/mesa/drivers/dri/r600/r700_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c
index 070cea56f8e..44584430036 100644
--- a/src/mesa/drivers/dri/r600/r700_state.c
+++ b/src/mesa/drivers/dri/r600/r700_state.c
@@ -493,7 +493,7 @@ static void r700SetBlendState(GLcontext * ctx)
SETfield(blend_reg,
eqnA, ALPHA_COMB_FCN_shift, ALPHA_COMB_FCN_mask);
- SETbit(r700->render_target[id].CB_BLEND0_CONTROL.u32All, SEPARATE_ALPHA_BLEND_bit);
+ SETbit(blend_reg, SEPARATE_ALPHA_BLEND_bit);
if (context->radeon.radeonScreen->chip_family == CHIP_FAMILY_R600)
r700->CB_BLEND_CONTROL.u32All = blend_reg;