Fixed a cut-and-paste bug from the BlendFuncSeparate driver interface
authorIan Romanick <idr@us.ibm.com>
Wed, 28 Jan 2004 17:35:49 +0000 (17:35 +0000)
committerIan Romanick <idr@us.ibm.com>
Wed, 28 Jan 2004 17:35:49 +0000 (17:35 +0000)
change.

src/mesa/drivers/dri/radeon/radeon_state.c

index 668fd49..1727e9c 100644 (file)
@@ -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 );