diff options
author | Gareth Hughes <[email protected]> | 2001-03-12 00:48:37 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 2001-03-12 00:48:37 +0000 |
commit | 22144ab7552f0799bcfca506bf4ffa7f70a06649 (patch) | |
tree | e7986aa02e97d88071b0769dc8d5359860320614 /src/mesa/main/blend.c | |
parent | 57ffddba9870a0e602ae454e13072a0af48fa150 (diff) |
Consistent copyright info (version number, date) across all files.
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r-- | src/mesa/main/blend.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 342d0a48d98..ef26563add6 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -1,4 +1,4 @@ -/* $Id: blend.c,v 1.30 2001/03/07 00:21:32 brianp Exp $ */ +/* $Id: blend.c,v 1.31 2001/03/12 00:48:37 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -40,7 +40,7 @@ void _mesa_BlendFunc( GLenum sfactor, GLenum dfactor ) { - + GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END(ctx); @@ -112,7 +112,7 @@ _mesa_BlendFunc( GLenum sfactor, GLenum dfactor ) ctx->Color.BlendDstRGB = ctx->Color.BlendDstA = dfactor; ctx->Color.BlendSrcRGB = ctx->Color.BlendSrcA = sfactor; - if (ctx->Driver.BlendFunc) + if (ctx->Driver.BlendFunc) ctx->Driver.BlendFunc( ctx, sfactor, dfactor ); } @@ -309,7 +309,7 @@ _mesa_BlendEquation( GLenum mode ) /* This is needed to support 1.1's RGB logic ops AND * 1.0's blending logicops. */ - ctx->Color.ColorLogicOpEnabled = (mode==GL_LOGIC_OP && + ctx->Color.ColorLogicOpEnabled = (mode==GL_LOGIC_OP && ctx->Color.BlendEnabled); if (ctx->Driver.BlendEquation) @@ -339,4 +339,3 @@ _mesa_BlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) if (ctx->Driver.BlendColor) (*ctx->Driver.BlendColor)(ctx, tmp); } - |