From: Brian Paul Date: Thu, 15 Jan 2009 14:04:52 +0000 (-0700) Subject: glsl: use _mesa_sprintf() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a8356209d143f21138eaa3ea64626e04c969669;p=mesa.git glsl: use _mesa_sprintf() --- 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; }