summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-06-29 22:06:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-06-29 22:06:22 +0000
commitfd9f740045f018ebde018ea073911faacdfb9f0f (patch)
treeb58ee1732237bff28579cb311e9f665557af325a /src
parent86586aa6f9331ededba194b7f37ebfce7908f9c8 (diff)
fixed GL_ONE_MINUS_CONSTANT_ALPHA bug (geza)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/blend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index ddfe6447de..5924585f3f 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -1,4 +1,4 @@
-/* $Id: blend.c,v 1.15 2000/05/30 02:28:03 brianp Exp $ */
+/* $Id: blend.c,v 1.16 2000/06/29 22:06:22 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -664,7 +664,7 @@ blend_general( GLcontext *ctx, GLuint n, const GLubyte mask[],
dR = dG = dB = ctx->Color.BlendColor[3];
break;
case GL_ONE_MINUS_CONSTANT_ALPHA:
- dR = dG = dB = 1.0F - ctx->Color.BlendColor[3] * ascale;
+ dR = dG = dB = 1.0F - ctx->Color.BlendColor[3];
break;
case GL_DST_COLOR: /* GL_NV_blend_square */
dR = (GLfloat) Rd * rscale;
@@ -718,7 +718,7 @@ blend_general( GLcontext *ctx, GLuint n, const GLubyte mask[],
dA = ctx->Color.BlendColor[3];
break;
case GL_ONE_MINUS_CONSTANT_ALPHA:
- dA = 1.0F - ctx->Color.BlendColor[3] * ascale;
+ dA = 1.0F - ctx->Color.BlendColor[3];
break;
case GL_DST_COLOR: /* GL_NV_blend_square */
dA = (GLfloat) Ad * ascale;