diff options
author | Brian Paul <brianp@vmware.com> | 2011-02-11 14:30:31 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-02-16 17:07:02 -0700 |
commit | 4b6c9b799b769863286461de1ab045cea8484cba (patch) | |
tree | 0e1b4b3ab9b389ecac7bb20dbc91fc30431a7dfa /src/gallium/drivers/svga | |
parent | 3e8fb54fb8940d015dcc4631cb84255228b1ad9e (diff) |
svga: disable a debug_printf() call
Diffstat (limited to 'src/gallium/drivers/svga')
-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 f12e2b6862..11c868a89b 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); } |