swrast: silence unused var warnings

Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Fabio Pedretti 2011-08-09 08:08:59 -06:00 committed by Brian Paul
parent 36291173c2
commit afd1d85775

View file

@ -212,10 +212,10 @@ interpolate_active_attribs(struct gl_context *ctx, SWspan *span, GLbitfield attr
static INLINE void
interpolate_int_colors(struct gl_context *ctx, SWspan *span)
{
#if CHAN_BITS != 32
const GLuint n = span->end;
GLuint i;
#if CHAN_BITS != 32
ASSERT(!(span->arrayMask & SPAN_RGBA));
#endif