summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-10 10:02:34 +0100
committerKeith Whitwell <[email protected]>2007-08-10 10:17:51 +0100
commit938c307e4526298d2703818d5fa848a31b076905 (patch)
treef39efb6a5bb7e6a71483076064f320bcf6738fe9 /src/mesa/main/imports.c
parentc12b71ef93ed71a78473568025d2b4d8d8fd2003 (diff)
Add printf handlers, pass pci id and move texlayout code to driver.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 3ae56c8b0b6..d8d35af15e2 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -902,12 +902,10 @@ _mesa_sprintf( char *str, const char *fmt, ... )
void
_mesa_printf( const char *fmtString, ... )
{
- char s[MAXSTRING];
va_list args;
va_start( args, fmtString );
- vsnprintf(s, MAXSTRING, fmtString, args);
+ vfprintf(stderr, fmtString, args);
va_end( args );
- fprintf(stderr,"%s", s);
}
/** Wrapper around vsprintf() */