projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae02a3
)
r300: Guard debugging output.
author
Michel Dänzer
<daenzer@vmware.com>
Fri, 3 Jul 2009 10:44:02 +0000
(12:44 +0200)
committer
Michel Dänzer
<michel@daenzer.net>
Fri, 3 Jul 2009 10:44:02 +0000
(12:44 +0200)
src/mesa/drivers/dri/r300/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index 19d240f5769285d1a3f32fd746da1e33edf0bf65..90ca45b3e77a6843c3d4f0ee564d411ba2c309c4 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@
-263,8
+263,9
@@
static void emit_cb_offset(GLcontext *ctx, struct radeon_state_atom * atom)
fprintf(stderr, "no rrb\n");
return;
}
-
- fprintf(stderr,"rrb is %p %d %dx%d\n", rrb, offset, rrb->base.Width, rrb->base.Height);
+
+ if (RADEON_DEBUG & DEBUG_STATE)
+ fprintf(stderr,"rrb is %p %d %dx%d\n", rrb, offset, rrb->base.Width, rrb->base.Height);
cbpitch = (rrb->pitch / rrb->cpp);
if (rrb->cpp == 4)
cbpitch |= R300_COLOR_FORMAT_ARGB8888;