summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2006-05-05 06:52:32 +0000
committerDave Airlie <airliedfreedesktop.org>2006-05-05 06:52:32 +0000
commit2364d9abd3d95ef29cc7c169033f31f40863e5f0 (patch)
tree9594873fd060cccebefa73eddf3713973859f870 /src
parentab377ce414ba5ca286bab0ddc8e80769bcb88656 (diff)
Fix i915 driver after stencil changes in Mesa 6.5
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/intel_ioctl.c2
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 d60d629afb..4f570c0e0f 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] != 0xff) {
+ else if (ctx->Stencil.WriteMask[0] != ~0U) {
tri_mask |= BUFFER_BIT_STENCIL;
}
else {