diff options
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_vtxfmt.h')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_vtxfmt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_vtxfmt.h b/src/mesa/drivers/dri/r200/r200_vtxfmt.h index 32a21c4897..46999191e0 100644 --- a/src/mesa/drivers/dri/r200/r200_vtxfmt.h +++ b/src/mesa/drivers/dri/r200/r200_vtxfmt.h @@ -57,10 +57,10 @@ do { \ char *start = (char *)&FUNC; \ char *end = (char *)&FUNC##_end; \ insert_at_head( &CACHE, dfn ); \ - dfn->key[0] = key[0]; \ - dfn->key[1] = key[1]; \ - dfn->code = _mesa_exec_malloc( end - start ); \ - memcpy (dfn->code, start, end - start); \ + dfn->key[0] = key[0]; \ + dfn->key[1] = key[1]; \ + dfn->code = _mesa_exec_malloc( end - start ); \ + _mesa_memcpy(dfn->code, start, end - start); \ } \ while ( 0 ) |