From: Ian Romanick Date: Wed, 28 Jan 2004 17:35:49 +0000 (+0000) Subject: Fixed a cut-and-paste bug from the BlendFuncSeparate driver interface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=253428f06a45d59cc50c9ccc4c8d17cd8c02c25d;p=mesa.git Fixed a cut-and-paste bug from the BlendFuncSeparate driver interface change. --- diff --git a/src/mesa/drivers/dri/radeon/radeon_state.c b/src/mesa/drivers/dri/radeon/radeon_state.c index 668fd491715..1727e9cb2fb 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state.c +++ b/src/mesa/drivers/dri/radeon/radeon_state.c @@ -1701,8 +1701,8 @@ static void radeonEnable( GLcontext *ctx, GLenum cap, GLboolean state ) ctx->Color.BlendEquationA ); ctx->Driver.BlendFuncSeparate( ctx, ctx->Color.BlendSrcRGB, ctx->Color.BlendDstRGB, - ctx->Color.BlendSrcRGB, - ctx->Color.BlendDstRGB ); + ctx->Color.BlendSrcA, + ctx->Color.BlendDstA ); } else { FALLBACK( rmesa, RADEON_FALLBACK_BLEND_FUNC, GL_FALSE );