diff options
author | Keith Whitwell <[email protected]> | 2006-05-08 09:03:35 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-05-08 09:03:35 +0000 |
commit | 71b2504e0390fa19f133647c8686d830f8f40eb6 (patch) | |
tree | 21b31e5e240f5bd83fa5b7d8a1907e4f6f6ecb3c /src/mesa/drivers/dri/i915 | |
parent | 960973b2ecfffc3b09563851e86c863e5304f48f (diff) |
updates to dri drivers for recent stencil changes
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_ioctl.c b/src/mesa/drivers/dri/i915/intel_ioctl.c index 4f570c0e0fa..d8530367664 100644 --- a/src/mesa/drivers/dri/i915/intel_ioctl.c +++ b/src/mesa/drivers/dri/i915/intel_ioctl.c @@ -418,7 +418,7 @@ void intelClear(GLcontext *ctx, GLbitfield mask, GLboolean all, if (!intel->hw_stencil) { swrast_mask |= BUFFER_BIT_STENCIL; } - else if (ctx->Stencil.WriteMask[0] != ~0U) { + else if ((ctx->Stencil.WriteMask[0] & 0xff) != 0xff) { tri_mask |= BUFFER_BIT_STENCIL; } else { |