diff options
author | Kenneth Graunke <[email protected]> | 2010-02-18 23:50:59 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 09:18:36 -0500 |
commit | c7ac486261ad30ef654f6d0b1608da4e8483cd40 (patch) | |
tree | aff75a4e4b0a35d39d699ac80cc5bd1c66cc546d /src/mesa/main/shaders.c | |
parent | 60b0cae412029e53654f38d0de151908f1feb310 (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/main/shaders.c')
-rw-r--r-- | src/mesa/main/shaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/shaders.c b/src/mesa/main/shaders.c index b9c84eb7925..91f2a7a7bf4 100644 --- a/src/mesa/main/shaders.c +++ b/src/mesa/main/shaders.c @@ -469,8 +469,8 @@ _mesa_ShaderSourceARB(GLhandleARB shaderObj, GLsizei count, for (i = 0; i < count; i++) { GLint start = (i > 0) ? offsets[i - 1] : 0; - _mesa_memcpy(source + start, string[i], - (offsets[i] - start) * sizeof(GLcharARB)); + memcpy(source + start, string[i], + (offsets[i] - start) * sizeof(GLcharARB)); } source[totalLength - 1] = '\0'; source[totalLength - 2] = '\0'; |