swrast: silence unused var warnings
authorFabio Pedretti <fabio.ped@libero.it>
Tue, 9 Aug 2011 14:08:59 +0000 (08:08 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 9 Aug 2011 14:08:59 +0000 (08:08 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_span.c

index db102ac..9a91be3 100644 (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