projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8fb54
)
svga: disable a debug_printf() call
author
Brian Paul
<brianp@vmware.com>
Fri, 11 Feb 2011 21:30:31 +0000
(14:30 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 17 Feb 2011 00:07:02 +0000
(17:07 -0700)
src/gallium/drivers/svga/svga_resource_buffer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_resource_buffer.c
b/src/gallium/drivers/svga/svga_resource_buffer.c
index f12e2b686270230b600dba255a9f04d096b869ae..11c868a89b130e6effdc0209f287fd6fe7e5059a 100644
(file)
--- 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);
}