summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/swrast/s_tritemp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index 435491a0c80..c2b757f33ed 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -196,6 +196,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
(void) swrast;
INIT_SPAN(span, GL_POLYGON, 0, 0, 0);
+ span.y = 0; /* silence warnings */
#ifdef INTERP_Z
(void) fixedToDepthShift;