projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5353961
)
intel: use BUFFER_BITS_COLOR
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 18:41:32 +0000
(12:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 23:39:31 +0000
(17:39 -0600)
src/mesa/drivers/dri/intel/intel_clear.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_clear.c
b/src/mesa/drivers/dri/intel/intel_clear.c
index d1e7cb5361b4586ad82c76463e9d3e55d8ae61e0..bce23724b3854c5ceb62bd67ed201e76f99bccf5 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_clear.c
+++ b/
src/mesa/drivers/dri/intel/intel_clear.c
@@
-124,7
+124,7
@@
intelClear(GLcontext *ctx, GLbitfield mask)
* buffer with it.
*/
if (mask & (BUFFER_BIT_DEPTH | BUFFER_BIT_STENCIL)) {
- int color_bit = _mesa_ffs(mask &
TRI_CLEAR_COLOR_BITS
);
+ int color_bit = _mesa_ffs(mask &
BUFFER_BITS_COLOR
);
if (color_bit != 0) {
tri_mask |= blit_mask & (1 << (color_bit - 1));
blit_mask &= ~(1 << (color_bit - 1));