projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09042e0
)
llvmpipe: snprintf->util_snprintf.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 18 Aug 2011 16:58:02 +0000
(17:58 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 18 Aug 2011 16:58:02 +0000
(17:58 +0100)
For MSVC.
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index e3f8c19679fa8828f49e884120e0aa63d2f8a5a6..9e2a45caad6cf313706f639e478c7323c8e66869 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-30,6
+30,7
@@
#include "util/u_math.h"
#include "util/u_cpu_detect.h"
#include "util/u_format.h"
+#include "util/u_string.h"
#include "util/u_format_s3tc.h"
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
@@
-94,7
+95,7
@@
static const char *
llvmpipe_get_name(struct pipe_screen *screen)
{
static char buf[100];
- snprintf(buf, sizeof(buf), "llvmpipe (LLVM 0x%x)", HAVE_LLVM);
+
util_
snprintf(buf, sizeof(buf), "llvmpipe (LLVM 0x%x)", HAVE_LLVM);
return buf;
}