diff options
author | Brian Paul <[email protected]> | 2002-08-21 02:59:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-08-21 02:59:31 +0000 |
commit | 2b930072b382fc7b8bf284bd8d341bf8f09ad1e7 (patch) | |
tree | d37ade3430f2cfea7484811edd71d81cc3f28805 | |
parent | b79e99ad6047c18f28b65c6b027ee703f5042918 (diff) |
s/DrawDestMask/_DrawDestMask/
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 9b7cd306b2c..8f81033b158 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -1,4 +1,4 @@ -/* $Id: fxdd.c,v 1.89 2002/07/09 01:22:51 brianp Exp $ */ +/* $Id: fxdd.c,v 1.90 2002/08/21 02:59:31 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -245,7 +245,7 @@ fxDDClear(GLcontext * ctx, GLbitfield mask, GLboolean all, FX_grBufferClear(fxMesa->clearC, fxMesa->clearA, clearD); FX_grColorMask(FXTRUE, ctx->Color.ColorMask[ACOMP] && fxMesa->haveAlphaBuffer); - if (ctx->Color.DrawDestMask & FRONT_LEFT_BIT) + if (ctx->Color._DrawDestMask & FRONT_LEFT_BIT) FX_grRenderBuffer(GR_BUFFER_FRONTBUFFER); if (!ctx->Depth.Test || !ctx->Depth.Mask) FX_grDepthMask(FXFALSE); @@ -318,7 +318,9 @@ fxDDDrawBitmap(GLcontext * ctx, GLint px, GLint py, ctx->Stencil.Enabled || ctx->Scissor.Enabled || (ctx->DrawBuffer->UseSoftwareAlphaBuffers && - ctx->Color.ColorMask[ACOMP]) || ctx->Color.MultiDrawBuffer) { + ctx->Color.ColorMask[ACOMP]) || + (ctx->Color._DrawDestMask != FRONT_LEFT_BIT && + ctx->Color._DrawDestMask != BACK_LEFT_BIT)) { _swrast_Bitmap(ctx, px, py, width, height, unpack, bitmap); return; } @@ -827,7 +829,8 @@ fx_check_IsInHardware(GLcontext * ctx) return GL_FALSE; if (ctx->Stencil.Enabled || - ctx->Color.MultiDrawBuffer || + (ctx->Color._DrawDestMask != FRONT_LEFT_BIT && + ctx->Color._DrawDestMask != BACK_LEFT_BIT) || ((ctx->Color.BlendEnabled) && (ctx->Color.BlendEquation != GL_FUNC_ADD_EXT)) || ((ctx->Color.ColorLogicOpEnabled) |