diff options
author | Brian Paul <[email protected]> | 2005-09-16 18:14:24 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-16 18:14:24 +0000 |
commit | aa2069586d434dd0487b0daa2b583efe801a0d51 (patch) | |
tree | cac0a05d5ebc786ae80d18080b1ad2896cac8cc6 /src/mesa/shader/slang | |
parent | 3cc67cb8cd1302c20218dda70599523102a29e10 (diff) |
use mesa import wrappers, bug 4468
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 4 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_execute.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index 2377173cf0a..0ff450ca91c 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -635,7 +635,7 @@ int slang_info_log_error (slang_info_log *log, const char *msg, ...) char buf[1024]; va_start (va, msg); - vsprintf (buf, msg, va); + _mesa_sprintf (buf, msg, va); if (slang_info_log_message (log, "error", buf)) return 1; slang_info_log_memory (log); @@ -649,7 +649,7 @@ int slang_info_log_warning (slang_info_log *log, const char *msg, ...) char buf[1024]; va_start (va, msg); - vsprintf (buf, msg, va); + _mesa_sprintf (buf, msg, va); if (slang_info_log_message (log, "warning", buf)) return 1; slang_info_log_memory (log); diff --git a/src/mesa/shader/slang/slang_execute.c b/src/mesa/shader/slang/slang_execute.c index d47f3eaca24..78a638b4445 100644 --- a/src/mesa/shader/slang/slang_execute.c +++ b/src/mesa/shader/slang/slang_execute.c @@ -169,7 +169,7 @@ static void dump (const slang_assembly_file *file) char filename[256];
counter++;
- sprintf (filename, "~mesa-slang-assembly-dump-(%u).txt", counter);
+ _mesa_sprintf (filename, "~mesa-slang-assembly-dump-(%u).txt", counter);
f = fopen (filename, "w");
if (f == NULL)
return;
|