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 668fd49171531594fb6fb4d83f5ae949036234d0..1727e9cb2fb30ac3d0dd5a1313318d89d788ef59 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 );