From 3663c0f82527d972a7e5b85937d8da60253eb6f3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 15 Jan 2004 00:29:51 +0000 Subject: Cosmetic changes. Added a bunch of const qualifiers. Use _mesa_memcpy() instead of memcpy(), etc. --- src/mesa/tnl/t_vertex.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/tnl/t_vertex.c') diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index a798f3e..1e06163 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa/tnl/t_vertex.c @@ -765,9 +765,9 @@ static void generic_copy_pv( GLcontext *ctx, GLuint edst, GLuint esrc ) if (a[j].attrib == VERT_ATTRIB_COLOR0 || a[j].attrib == VERT_ATTRIB_COLOR1) { - memcpy( vdst + a[j].vertoffset, - vsrc + a[j].vertoffset, - a[j].vertattrsize ); + _mesa_memcpy( vdst + a[j].vertoffset, + vsrc + a[j].vertoffset, + a[j].vertattrsize ); } } } @@ -931,7 +931,7 @@ void _tnl_get_attr( GLcontext *ctx, const void *vin, /* Else return the value from ctx->Current */ - memcpy( dest, ctx->Current.Attrib[attr], 4*sizeof(GLfloat)); + _mesa_memcpy( dest, ctx->Current.Attrib[attr], 4*sizeof(GLfloat)); } void *_tnl_get_vertex( GLcontext *ctx, GLuint nr ) -- cgit v1.1