summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_program.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_vb_program.c
parentb960c14cbb4eb701ea500f54695aec1c5948d3f1 (diff)
use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4V
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r--src/mesa/tnl/t_vb_program.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 520775412e8..614d537c30e 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -133,8 +133,7 @@ run_vp( GLcontext *ctx, struct tnl_pipeline_stage *stage )
const GLuint size = VB->AttribPtr[attr]->size;
const GLuint stride = VB->AttribPtr[attr]->stride;
const GLfloat *data = (GLfloat *) (ptr + stride * i);
- ASSIGN_4V(ctx->VertexProgram.Inputs[attr], 0, 0, 0, 1);
- COPY_SZ_4V(ctx->VertexProgram.Inputs[attr], size, data);
+ COPY_CLEAN_4V(ctx->VertexProgram.Inputs[attr], size, data);
}
}