diff options
author | Brian Paul <[email protected]> | 2009-09-01 12:41:32 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-01 17:39:31 -0600 |
commit | c2542cdaffbd9b77ce0a710553d78834c04c4820 (patch) | |
tree | ed0ca350b9117aa326a01d9c24ab63cea6950310 /src/mesa | |
parent | 5353961344dd75f839cfee50f226497171725cce (diff) |
intel: use BUFFER_BITS_COLOR
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c index d1e7cb5361b..bce23724b38 100644 --- 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)); |