Module: Mesa Branch: mesa_7_6_branch Commit: 20590b97336c4ebe5d2bcee51d66820e1e5d26c8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=20590b97336c4ebe5d2bcee51d66820e1e5d26c8
Author: Vinson Lee <[email protected]> Date: Sat Dec 12 20:20:02 2009 -0800 t_dd_dmatmp.h: Silence unused value warning in render_poly_elts. --- src/mesa/tnl_dd/t_dd_dmatmp.h | 1 + 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 7182978..d568bfd 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; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
