From: Alex Deucher Date: Mon, 20 Jul 2009 23:33:05 +0000 (-0400) Subject: r600: fix typo in blend code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6617fa6fab2df5d3d8085affac019f90101bb7a8;p=mesa.git r600: fix typo in blend code --- 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;