From 319f5fd5ec85b4ca845028e6cdb94cca0a00d3d5 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 20 Apr 2004 10:28:15 +0000 Subject: Simplify last fix slightly, apply to vtx paths as well. --- src/mesa/tnl/t_save_api.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mesa/tnl/t_save_api.c') diff --git a/src/mesa/tnl/t_save_api.c b/src/mesa/tnl/t_save_api.c index dce84e212c..f0f573c090 100644 --- a/src/mesa/tnl/t_save_api.c +++ b/src/mesa/tnl/t_save_api.c @@ -503,10 +503,7 @@ static void _save_upgrade_vertex( GLcontext *ctx, dest += newsz; } else { - GLuint currentsz = tnl->save.currentsz[attr][0]; - GLfloat *current = tnl->save.current[attr]; - ASSIGN_4V( dest, 0, 0, 0, 1 ); - COPY_SZ_4V( dest, currentsz, current ); + COPY_SZ_4V( dest, newsz, tnl->save.current[attr] ); dest += newsz; } } -- cgit v1.2.3