summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast')
-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 435491a0c8..c2b757f33e 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;