summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaders.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:55 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 07:51:02 -0500
commit21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 (patch)
tree59e54ca5138fd305d6b2ac6682a77797c813e1ad /src/mesa/main/shaders.c
parentf69d1d1438361f10fd8db78d2d38f26e33db9747 (diff)
Remove _mesa_strlen in favor of plain strlen.
Diffstat (limited to 'src/mesa/main/shaders.c')
-rw-r--r--src/mesa/main/shaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaders.c b/src/mesa/main/shaders.c
index d0dc7e551c9..b9c84eb7925 100644
--- a/src/mesa/main/shaders.c
+++ b/src/mesa/main/shaders.c
@@ -447,7 +447,7 @@ _mesa_ShaderSourceARB(GLhandleARB shaderObj, GLsizei count,
return;
}
if (length == NULL || length[i] < 0)
- offsets[i] = _mesa_strlen(string[i]);
+ offsets[i] = strlen(string[i]);
else
offsets[i] = length[i];
/* accumulate string lengths */