summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-04-27 13:09:58 +0100
committerJosé Fonseca <[email protected]>2009-04-27 13:09:58 +0100
commit99b77d05d2e8c4af5f7d752d6827c21fd6c4d5ee (patch)
tree5daea2e00f9cd5057f37630a62faee4cccb036de /src/mesa
parentb504721cc7fdfd9420e80c0f7ab78a3f92abeb58 (diff)
mesa: Call _mesa_snprintf instead of snprintf.
snprintf not directly available on Windows.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/imports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 8797f36695f..615f7c9a6da 100644
--- 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);
}
}