diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-29 22:06:24 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-29 22:06:24 +0000 |
commit | 73d7a8a9a392b93956f767277e44e12beeaa15b8 (patch) | |
tree | 64e60e2180e91a2f73d08bb2712ff1ebb815d5e3 | |
parent | 6e85dacc57b5d3de188c334f65e733552fbe865a (diff) |
fixed GL_ONE_MINUS_CONSTANT_ALPHA bug (geza)
-rw-r--r-- | src/mesa/main/blend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 2aa98f8435..f60ef93f34 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -1,4 +1,4 @@ -/* $Id: blend.c,v 1.7.2.1 2000/02/21 14:59:41 brianp Exp $ */ +/* $Id: blend.c,v 1.7.2.2 2000/06/29 22:06:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -596,7 +596,7 @@ static void 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; default: /* this should never happen */ @@ -640,7 +640,7 @@ static void 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; default: /* this should never happen */ |