commit | 60b0cae412029e53654f38d0de151908f1feb310 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Feb 18 23:50:58 2010 -0800 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Feb 19 09:18:13 2010 -0500 |
tree | 77f8d023f40f49603586070ab80c599e95efc906 | |
parent | 9d9afe9393fde99858ddf40e478bc16cf44e60dc [diff] [blame] |
Remove _mesa_atoi in favor of plain atoi.
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index c3b49ed..44310d2 100644 --- a/src/mesa/shader/shader_api.c +++ b/src/mesa/shader/shader_api.c
@@ -1385,7 +1385,7 @@ location = _mesa_lookup_uniform(shProg->Uniforms, newName); if (location >= 0) { - const GLint element = _mesa_atoi(c + 1); + const GLint element = atoi(c + 1); if (element > 0) { /* get type of the uniform array element */ struct gl_program_parameter *p;