diff options
author | Alan Hourihane <[email protected]> | 2005-03-02 18:57:01 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2005-03-02 18:57:01 +0000 |
commit | fff3b2f318a1d05228d0128f59fe556652c70dda (patch) | |
tree | 79a31be44b5e11b7c6ebca170018229ecd8ed8ae /src/mesa/tnl/t_vtx_api.c | |
parent | b960c14cbb4eb701ea500f54695aec1c5948d3f1 (diff) |
use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4V
Diffstat (limited to 'src/mesa/tnl/t_vtx_api.c')
-rw-r--r-- | src/mesa/tnl/t_vtx_api.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_vtx_api.c b/src/mesa/tnl/t_vtx_api.c index 1ba0f468ce9..fabd99e5d09 100644 --- a/src/mesa/tnl/t_vtx_api.c +++ b/src/mesa/tnl/t_vtx_api.c @@ -147,8 +147,7 @@ static void _tnl_copy_to_current( GLcontext *ctx ) /* Note: the tnl->vtx.current[i] pointers points to * the ctx->Current fields. The first 16 or so, anyway. */ - ASSIGN_4V( tnl->vtx.current[i], 0, 0, 0, 1 ); - COPY_SZ_4V(tnl->vtx.current[i], + COPY_CLEAN_4V(tnl->vtx.current[i], tnl->vtx.attrsz[i], tnl->vtx.attrptr[i]); } @@ -278,8 +277,7 @@ static void _tnl_wrap_upgrade_vertex( GLcontext *ctx, if (tnl->vtx.attrsz[j]) { if (j == attr) { if (oldsz) { - ASSIGN_4V( dest, 0, 0, 0, 1 ); - COPY_SZ_4V( dest, oldsz, data ); + COPY_CLEAN_4V( dest, oldsz, data ); data += oldsz; dest += newsz; } else { |