summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_debug.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-03-31 09:02:08 +0900
committerJosé Fonseca <[email protected]>2008-03-31 17:28:33 +0900
commitbaab98a637d526871fb77ec6f313012f49c0e998 (patch)
treea06431b77007334d95c5d115e2b8116562fb68ce /src/gallium/drivers/i915simple/i915_debug.h
parent63950b11b6060e4e0d06e0d14548ff132a295067 (diff)
gallium: Eliminate p_winsys::printf
Not convenient and almost not used at all. Better replacements in p_debug.h
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_debug.h')
-rw-r--r--src/gallium/drivers/i915simple/i915_debug.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915simple/i915_debug.h b/src/gallium/drivers/i915simple/i915_debug.h
index 0bcd0942334..afb63edabf7 100644
--- a/src/gallium/drivers/i915simple/i915_debug.h
+++ b/src/gallium/drivers/i915simple/i915_debug.h
@@ -83,11 +83,9 @@ I915_DBG(
{
if ((i915)->debug & FILE_DEBUG_FLAG) {
va_list args;
- char buffer[256];
va_start( args, fmt );
- vsprintf( buffer, fmt, args );
- i915->pipe.winsys->printf( i915->pipe.winsys, buffer );
+ debug_vprintf( fmt, args );
va_end( args );
}
}