summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-01-28 17:35:49 +0000
committerIan Romanick <idr@us.ibm.com>2004-01-28 17:35:49 +0000
commit253428f06a45d59cc50c9ccc4c8d17cd8c02c25d (patch)
tree31e565e6a7e0dce1577ee524d5493080d5833e8d
parent29b2ced167db4f89845734e2c34f66912075f9cd (diff)
Fixed a cut-and-paste bug from the BlendFuncSeparate driver interface
change.
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state.c b/src/mesa/drivers/dri/radeon/radeon_state.c
index 668fd49171..1727e9cb2f 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 );