summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-12 20:20:02 -0800
committerVinson Lee <[email protected]>2009-12-12 20:20:02 -0800
commit20590b97336c4ebe5d2bcee51d66820e1e5d26c8 (patch)
tree9fd8d01e27775a7f0b5bfba4640d6c15c36d8cdb
parentcd1a09e3bbdb907e3b806e68400804310dc168ce (diff)
t_dd_dmatmp.h: Silence unused value warning in render_poly_elts.
-rw-r--r--src/mesa/tnl_dd/t_dd_dmatmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 7182978a171..d568bfdb584 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp.h
@@ -991,6 +991,7 @@ static void TAG(render_poly_elts)( GLcontext *ctx,
tmp = ALLOC_ELTS( nr );
tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
tmp = TAG(emit_elts)( ctx, elts+j, nr - 1, tmp );
+ (void) tmp;
FLUSH();
currentsz = dmasz;
}