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 5d2f441ff94921632785f6ecf327e152831a17c1..35cea8454a5b7e700e35cd51b03f506c346651ea 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;