diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-02-18 23:50:55 -0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-02-19 07:51:02 -0500 |
commit | 21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 (patch) | |
tree | 59e54ca5138fd305d6b2ac6682a77797c813e1ad /src/mesa/shader/prog_parameter.c | |
parent | f69d1d1438361f10fd8db78d2d38f26e33db9747 (diff) | |
download | external_mesa3d-21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7.zip external_mesa3d-21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7.tar.gz external_mesa3d-21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7.tar.bz2 |
Remove _mesa_strlen in favor of plain strlen.
Diffstat (limited to 'src/mesa/shader/prog_parameter.c')
-rw-r--r-- | src/mesa/shader/prog_parameter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index d4970c4..0c52c25 100644 --- a/src/mesa/shader/prog_parameter.c +++ b/src/mesa/shader/prog_parameter.c @@ -538,7 +538,7 @@ _mesa_lookup_parameter_index(const struct gl_program_parameter_list *paramList, for (i = 0; i < (GLint) paramList->NumParameters; i++) { if (paramList->Parameters[i].Name && _mesa_strncmp(paramList->Parameters[i].Name, name, nameLen) == 0 - && _mesa_strlen(paramList->Parameters[i].Name) == (size_t)nameLen) + && strlen(paramList->Parameters[i].Name) == (size_t)nameLen) return i; } } @@ -723,7 +723,7 @@ _mesa_longest_parameter_name(const struct gl_program_parameter_list *list, return 0; for (i = 0; i < list->NumParameters; i++) { if (list->Parameters[i].Type == type) { - GLuint len = _mesa_strlen(list->Parameters[i].Name); + GLuint len = strlen(list->Parameters[i].Name); if (len > maxLen) maxLen = len; } |