projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63e9a96
)
Removed two unnecessary variables.
author
Ville Syrjala
<syrjala@freedesktop.org>
Sat, 16 Oct 2004 11:26:06 +0000
(11:26 +0000)
committer
Ville Syrjala
<syrjala@freedesktop.org>
Sat, 16 Oct 2004 11:26:06 +0000
(11:26 +0000)
src/mesa/tnl_dd/t_dd_dmatmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_dmatmp.h
b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 4322f26da4c3e1c47a68f2579273e61375c3e182..3d5e496f15f5b34153faf87baef78991e547595b 100644
(file)
--- 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] );