diff options
author | Brian Paul <[email protected]> | 2009-01-15 07:04:52 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-15 07:05:30 -0700 |
commit | 4a8356209d143f21138eaa3ea64626e04c969669 (patch) | |
tree | c54d5e54eaf17f954dcd6cd9dfb720971001d6ce /src | |
parent | e1ba29ea19fd99d16b63cc34bc2aa1e4a26c5a25 (diff) |
glsl: use _mesa_sprintf()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 05a3e2dee07..c6d5cc05668 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -260,8 +260,8 @@ link_uniform_vars(GLcontext *ctx, GLuint newSampNum = *numSamplers; if (newSampNum >= ctx->Const.MaxTextureImageUnits) { char s[100]; - sprintf(s, "Too many texture samplers (%u, max is %u)", - newSampNum, ctx->Const.MaxTextureImageUnits); + _mesa_sprintf(s, "Too many texture samplers (%u, max is %u)", + newSampNum, ctx->Const.MaxTextureImageUnits); link_error(shProg, s); return GL_FALSE; } |