fixed depth mask bug in fxddClear(DD_DEPTH_BIT)
This commit is contained in:
@@ -274,6 +274,8 @@ static GLbitfield fxDDClear(GLcontext *ctx, GLbitfield mask, GLboolean all,
|
||||
FX_grColorMask(FXTRUE, ctx->Color.ColorMask[ACOMP] && fxMesa->haveAlphaBuffer);
|
||||
if (ctx->Color.DrawDestMask & FRONT_LEFT_BIT)
|
||||
FX_grRenderBuffer(GR_BUFFER_FRONTBUFFER);
|
||||
if (!ctx->Depth.Test || !ctx->Depth.Mask)
|
||||
FX_grDepthMask(FXFALSE);
|
||||
break;
|
||||
default:
|
||||
/* error */
|
||||
|
||||
Reference in New Issue
Block a user