diff options
author | Ville Syrjala <syrjala@freedesktop.org> | 2004-10-16 11:26:06 +0000 |
---|---|---|
committer | Ville Syrjala <syrjala@freedesktop.org> | 2004-10-16 11:26:06 +0000 |
commit | 3152b1586cfdb06df204c5291db7b0f3850d8cb9 (patch) | |
tree | 394297ccf8d0a7de34c4fe6685b849d1bda736c6 /src/mesa | |
parent | 63e9a968ffabb0d7adcfd39aeb2f019b943ebb59 (diff) |
Removed two unnecessary variables.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/tnl_dd/t_dd_dmatmp.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h index 4322f26da4..3d5e496f15 100644 --- a/src/mesa/tnl_dd/t_dd_dmatmp.h +++ b/src/mesa/tnl_dd/t_dd_dmatmp.h @@ -1011,8 +1011,7 @@ static void TAG(render_quad_strip_elts)( GLcontext *ctx, { GLint i; GLint quads = (nr/2)-1; - void *buf = ALLOC_ELTS( quads*6 ); - ELTS_VARS( buf ); + ELTS_VARS( ALLOC_ELTS( quads*6 ) ); for ( i = j-start ; i < j-start+quads ; i++, elts += 2 ) { EMIT_TWO_ELTS( 0, elts[0], elts[1] ); @@ -1100,8 +1099,7 @@ static void TAG(render_quads_elts)( GLcontext *ctx, { GLint quads = nr/4; GLint i; - void *buf = ALLOC_ELTS( quads * 6 ); - ELTS_VARS(buf); + ELTS_VARS( ALLOC_ELTS( quads * 6 ) ); for ( i = j-start ; i < j-start+quads ; i++, elts += 4 ) { EMIT_TWO_ELTS( 0, elts[0], elts[1] ); |