diff options
author | Alan Hourihane <[email protected]> | 2009-01-16 16:44:53 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2009-01-16 16:44:53 +0000 |
commit | 2e28c1fda24988241ef7abb91b7d896e38f5df26 (patch) | |
tree | 593e70705d1f60babd77697b75f7618a94c6703b /src/mesa/shader/slang/slang_link.c | |
parent | 47ca0234dc9f83808cb141944537c78eaade5d55 (diff) | |
parent | e442fe5ba53acf16c78339f19921d70dba3928f6 (diff) |
Merge commit 'origin/master' into gallium-0.2
Conflicts:
src/mesa/shader/slang/slang_compile.c
Diffstat (limited to 'src/mesa/shader/slang/slang_link.c')
-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 b3aae759b9b..b5862bda822 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; } |