summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program_parse.y
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:59 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 09:18:36 -0500
commitc7ac486261ad30ef654f6d0b1608da4e8483cd40 (patch)
treeaff75a4e4b0a35d39d699ac80cc5bd1c66cc546d /src/mesa/shader/program_parse.y
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/program_parse.y')
-rw-r--r--src/mesa/shader/program_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/program_parse.y b/src/mesa/shader/program_parse.y
index 3880d549172..577bd2c38d1 100644
--- a/src/mesa/shader/program_parse.y
+++ b/src/mesa/shader/program_parse.y
@@ -2662,7 +2662,7 @@ _mesa_parse_arb_program(GLcontext *ctx, GLenum target, const GLubyte *str,
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glProgramStringARB");
return GL_FALSE;
}
- _mesa_memcpy (strz, str, len);
+ memcpy (strz, str, len);
strz[len] = '\0';
state->prog->String = strz;