projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d6bbc
)
st/mesa: protect debug printf() with a conditional instead of comment
author
Brian Paul
<brianp@vmware.com>
Wed, 6 Jan 2016 00:26:29 +0000
(17:26 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 6 Jan 2016 22:53:46 +0000
(15:53 -0700)
src/mesa/state_tracker/st_cb_bitmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_bitmap.c
b/src/mesa/state_tracker/st_cb_bitmap.c
index 4d6b8d6233c3c1f2871c42d33cfc5d6b47eb7503..c2cbcbd6fc7b67fb47fd5a571c81dbce1b10215b 100644
(file)
--- 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->y
min,
- cache->xpos, cache->ypos);
-*/
+ if (0)
+
printf("flush bitmap, size %d x %d at %d, %d\n"
,
+
cache->xmax - cache->x
min,
+ 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.