diff options
author | Brian Paul <[email protected]> | 2011-02-11 14:30:31 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-02-16 17:07:02 -0700 |
commit | 4b6c9b799b769863286461de1ab045cea8484cba (patch) | |
tree | 0e1b4b3ab9b389ecac7bb20dbc91fc30431a7dfa /src | |
parent | 3e8fb54fb8940d015dcc4631cb84255228b1ad9e (diff) |
svga: disable a debug_printf() call
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_buffer.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.c b/src/gallium/drivers/svga/svga_resource_buffer.c index f12e2b68627..11c868a89b1 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer.c +++ b/src/gallium/drivers/svga/svga_resource_buffer.c @@ -105,9 +105,12 @@ svga_buffer_map_range( struct pipe_screen *screen, * We can't create a hardware buffer big enough, so create a malloc * buffer instead. */ - debug_printf("%s: failed to allocate %u KB of DMA, splitting DMA transfers\n", - __FUNCTION__, - (sbuf->b.b.width0 + 1023)/1024); + if (0) { + debug_printf("%s: failed to allocate %u KB of DMA, " + "splitting DMA transfers\n", + __FUNCTION__, + (sbuf->b.b.width0 + 1023)/1024); + } sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); } |