Simplify last fix slightly, apply to vtx paths as well.

This commit is contained in:
Keith Whitwell
2004-04-20 10:28:15 +00:00
parent 30a8a0b8fa
commit 319f5fd5ec
2 changed files with 10 additions and 8 deletions

View File

@@ -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;
}
}