summaryrefslogtreecommitdiff
path: root/src/mesa/shader/shader_api.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-02-18 23:50:59 -0800
committerKristian Høgsberg <krh@bitplanet.net>2010-02-19 09:18:36 -0500
commitc7ac486261ad30ef654f6d0b1608da4e8483cd40 (patch)
treeaff75a4e4b0a35d39d699ac80cc5bd1c66cc546d /src/mesa/shader/shader_api.c
parent60b0cae412029e53654f38d0de151908f1feb310 (diff)
Remove _mesa_memcpy in favor of plain memcpy.
This may break the SUNOS4 build, but it's no longer relevant.
Diffstat (limited to 'src/mesa/shader/shader_api.c')
-rw-r--r--src/mesa/shader/shader_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index 44310d2e61..7e2a60f74b 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -1380,7 +1380,7 @@ _mesa_get_uniform_location(GLcontext *ctx, GLuint program, const GLchar *name)
GLchar *newName = _mesa_malloc(len + 1);
if (!newName)
return -1; /* out of mem */
- _mesa_memcpy(newName, name, len);
+ memcpy(newName, name, len);
newName[len] = 0;
location = _mesa_lookup_uniform(shProg->Uniforms, newName);