Use _mesa_memset rather than memset
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 11 May 2005 15:18:59 +0000 (15:18 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 11 May 2005 15:18:59 +0000 (15:18 +0000)
src/mesa/tnl/t_vp_build.c

index 5d2f441..35cea84 100644 (file)
@@ -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;