summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_save_playback.c
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2005-03-02 18:57:01 +0000
committerAlan Hourihane <[email protected]>2005-03-02 18:57:01 +0000
commitfff3b2f318a1d05228d0128f59fe556652c70dda (patch)
tree79a31be44b5e11b7c6ebca170018229ecd8ed8ae /src/mesa/tnl/t_save_playback.c
parentb960c14cbb4eb701ea500f54695aec1c5948d3f1 (diff)
use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4V
Diffstat (limited to 'src/mesa/tnl/t_save_playback.c')
-rw-r--r--src/mesa/tnl/t_save_playback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c
index fa094b10a21..c271ba749cf 100644
--- a/src/mesa/tnl/t_save_playback.c
+++ b/src/mesa/tnl/t_save_playback.c
@@ -131,8 +131,7 @@ static void _playback_copy_to_current( GLcontext *ctx,
for (i = _TNL_ATTRIB_POS+1 ; i <= _TNL_ATTRIB_INDEX ; i++) {
if (node->attrsz[i]) {
- ASSIGN_4V(tnl->vtx.current[i], 0, 0, 0, 1);
- COPY_SZ_4V(tnl->vtx.current[i], node->attrsz[i], data);
+ COPY_CLEAN_4V(tnl->vtx.current[i], node->attrsz[i], data);
data += node->attrsz[i];
}
}