r600: fix typo in blend code
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 20 Jul 2009 23:33:05 +0000 (19:33 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 20 Jul 2009 23:33:05 +0000 (19:33 -0400)
src/mesa/drivers/dri/r600/r700_state.c

index 070cea56f8e6f79e77f3e7a5805b142e6a8e5c73..44584430036283963f814ffc867ee13f1d522de9 100644 (file)
@@ -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;