projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b504721
)
mesa: Call _mesa_snprintf instead of snprintf.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 27 Apr 2009 12:09:58 +0000
(13:09 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 27 Apr 2009 12:09:58 +0000
(13:09 +0100)
snprintf not directly available on Windows.
src/mesa/main/imports.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.c
b/src/mesa/main/imports.c
index 8797f36695f5bd8adf1e195f6da2b20aeeccfe5c..615f7c9a6daf70ea1c6a5c65e1506357ac206674 100644
(file)
--- a/
src/mesa/main/imports.c
+++ b/
src/mesa/main/imports.c
@@
-1137,7
+1137,7
@@
_mesa_error( GLcontext *ctx, GLenum error, const char *fmtString, ... )
vsnprintf(s, MAXSTRING, fmtString, args);
va_end(args);
- snprintf(s2, MAXSTRING, "%s in %s", errstr, s);
+
_mesa_
snprintf(s2, MAXSTRING, "%s in %s", errstr, s);
output_if_debug("Mesa: User error", s2, GL_TRUE);
}
}