projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114bb54
)
slang: Use _mesa_snprintf() wrapper.
author
Michal Krol
<michal@vmware.com>
Fri, 20 Mar 2009 11:19:40 +0000
(12:19 +0100)
committer
Michal Krol
<michal@vmware.com>
Fri, 20 Mar 2009 11:19:40 +0000
(12:19 +0100)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index 8263aae3343e9b5f3a4ed0878d70aadaf3dc6ecf..a7cfc45e6f00315014d89e045340f2b16da67b4a 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-1441,7
+1441,7
@@
_slang_gen_function_call(slang_assemble_ctx *A, slang_function *fun,
if (A->pragmas->Debug) {
char s[1000];
- snprintf(s, sizeof(s), "Call/inline %s()", (char *) fun->header.a_name);
+
_mesa_
snprintf(s, sizeof(s), "Call/inline %s()", (char *) fun->header.a_name);
n->Comment = _slang_strdup(s);
}