summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/tnl/t_vp_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 5d2f441ff9..35cea8454a 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -1130,7 +1130,7 @@ void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx )
return;
- memset(&p, 0, sizeof(p));
+ _mesa_memset(&p, 0, sizeof(p));
p.ctx = ctx;
p.program = (struct vertex_program *)ctx->Driver.NewProgram(ctx, GL_VERTEX_PROGRAM_ARB, 0);
p.eye_position = undef;