projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab377ce
)
Fix i915 driver after stencil changes in Mesa 6.5
author
Dave Airlie
<airliedfreedesktop.org>
Fri, 5 May 2006 06:52:32 +0000
(06:52 +0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Fri, 5 May 2006 06:52:32 +0000
(06:52 +0000)
src/mesa/drivers/dri/i915/intel_ioctl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_ioctl.c
b/src/mesa/drivers/dri/i915/intel_ioctl.c
index d60d629afbda29793ad7164411d9a41c635ba29a..4f570c0e0fa9a76fd0829cc862ae6be2db7b51b5 100644
(file)
--- 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 {