summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorkeithw <keithw@keithw-laptop.(none)>2007-08-10 16:08:45 +0100
committerkeithw <keithw@keithw-laptop.(none)>2007-08-10 16:08:45 +0100
commit5b301132364dd78f5477cc2028bbde36f524fcf1 (patch)
tree17ab6189184d0dc56b70d2d94d58bc256d773365 /src/mesa/drivers
parent03a9994280c14e18be4bae14f4a9b667f8444d67 (diff)
add missing printf
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
index 7f47b93f096..015d8fc2bbf 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
@@ -176,6 +176,14 @@ intel_flush_frontbuffer( struct pipe_winsys *sws )
intelCopyBuffer(dPriv, NULL);
}
+static void
+intel_printf( struct pipe_winsys *sws, const char *fmtString, ... )
+{
+ va_list args;
+ va_start( args, fmtString );
+ vfprintf(stderr, fmtString, args);
+ va_end( args );
+}
struct pipe_winsys *
@@ -200,6 +208,7 @@ intel_create_pipe_winsys( struct intel_context *intel )
iws->winsys.buffer_get_subdata = intel_buffer_get_subdata;
iws->winsys.flush_frontbuffer = intel_flush_frontbuffer;
iws->winsys.wait_idle = intel_wait_idle;
+ iws->winsys.printf = intel_printf;
iws->intel = intel;
return &iws->winsys;