summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Pedretti <[email protected]>2011-08-09 08:08:59 -0600
committerBrian Paul <[email protected]>2011-08-09 08:08:59 -0600
commitafd1d857752b5c30a3082068f8bb9002e0c69699 (patch)
treed399488555379d12f8a5cb8decbb22096c901fe8 /src
parent36291173c20b7b90da8e765871efb37205786922 (diff)
swrast: silence unused var warnings
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_span.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index db102ac7946..9a91be39970 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -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