diff options
author | José Fonseca <[email protected]> | 2011-08-18 17:58:02 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-08-18 17:58:02 +0100 |
commit | a7f67b1c50d5d835c371d9aeaeca681fbd354ef8 (patch) | |
tree | 3796f2dd976c6ccffed7397597c7e2b78482a978 /src/gallium | |
parent | 09042e08cbdfe61bb860a9d62151e136e6e278a4 (diff) |
llvmpipe: snprintf->util_snprintf.
For MSVC.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index e3f8c19679f..9e2a45caad6 100644 --- 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; } |