From: Brian Paul Date: Tue, 1 Sep 2009 18:41:32 +0000 (-0600) Subject: intel: use BUFFER_BITS_COLOR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2542cdaffbd9b77ce0a710553d78834c04c4820;p=mesa.git intel: use BUFFER_BITS_COLOR --- 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));