summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-01-05 17:26:29 -0700
committerBrian Paul <[email protected]>2016-01-06 15:53:46 -0700
commitc75d00e054c02ac32321ee0a4e6e2932ad2ad6ad (patch)
tree97e03c64722050b016b48e2d3eee2ebfd30046c3 /src/mesa
parent72d6bbca5b0f646b7278af1eaf32c4e5f24ccf8f (diff)
st/mesa: protect debug printf() with a conditional instead of comment
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index 4d6b8d6233c..c2cbcbd6fc7 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/src/mesa/state_tracker/st_cb_bitmap.c
@@ -494,11 +494,11 @@ st_flush_bitmap_cache(struct st_context *st)
assert(cache->xmin <= cache->xmax);
-/* printf("flush size %d x %d at %d, %d\n",
- cache->xmax - cache->xmin,
- cache->ymax - cache->ymin,
- cache->xpos, cache->ypos);
-*/
+ if (0)
+ printf("flush bitmap, size %d x %d at %d, %d\n",
+ cache->xmax - cache->xmin,
+ cache->ymax - cache->ymin,
+ cache->xpos, cache->ypos);
/* The texture transfer has been mapped until now.
* So unmap and release the texture transfer before drawing.