Browse Source

Fix i915 driver after stencil changes in Mesa 6.5

tags/mesa-6_5-20060712
Dave Airlie 19 years ago
parent
commit
2364d9abd3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/i915/intel_ioctl.c

+ 1
- 1
src/mesa/drivers/dri/i915/intel_ioctl.c View File

@@ -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 {

Loading…
Cancel
Save