summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_tritemp.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-04 09:30:28 -0600
committerBrian <brian@yutani.localnet.net>2007-04-04 09:30:28 -0600
commitf9c01c33d3d168ae7c2eadc6c0fb10faada6f6f5 (patch)
tree4bae7d1d72c53409d17ff281bb3cad6d4d79ebc2 /src/mesa/swrast/s_tritemp.h
parentd4dc57bb13386f4503000dc34c6bf67a8387fc9f (diff)
init span.y=0 to silence warnings
Diffstat (limited to 'src/mesa/swrast/s_tritemp.h')
-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;