Mesa (master): r300: disable blit debugging info

Maciej Cencora osiris at kemper.freedesktop.org
Fri Dec 11 16:01:11 PST 2009


Module: Mesa
Branch: master
Commit: 784cca9fa527de771754d76545970f78094b9adf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=784cca9fa527de771754d76545970f78094b9adf

Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Sat Dec 12 00:50:26 2009 +0100

r300: disable blit debugging info

---

 src/mesa/drivers/dri/r300/r300_blit.c    |    2 +-
 src/mesa/drivers/dri/r300/r300_texcopy.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c
index 4c3d3c8..10e1b3c 100644
--- a/src/mesa/drivers/dri/r300/r300_blit.c
+++ b/src/mesa/drivers/dri/r300/r300_blit.c
@@ -480,7 +480,7 @@ GLboolean r300_blit(struct r300_context *r300,
 
     //return GL_FALSE;
 
-    if (1) {
+    if (0) {
         fprintf(stderr, "src: width %d, height %d, pitch %d vs %d, format %s\n",
                 src_width, src_height, src_pitch,
                 _mesa_format_row_stride(src_mesaformat, src_width),
diff --git a/src/mesa/drivers/dri/r300/r300_texcopy.c b/src/mesa/drivers/dri/r300/r300_texcopy.c
index 1e10c73..5e3a724 100644
--- a/src/mesa/drivers/dri/r300/r300_texcopy.c
+++ b/src/mesa/drivers/dri/r300/r300_texcopy.c
@@ -74,7 +74,7 @@ do_copy_texsubimage(GLcontext *ctx,
         return GL_FALSE;
     }
 
-    if (1) {
+    if (0) {
         fprintf(stderr, "%s: copying to face %d, level %d\n",
                 __FUNCTION__, _mesa_tex_target_to_face(target), level);
         fprintf(stderr, "to: x %d, y %d, offset %d\n", dstx, dsty, (uint32_t) dst_offset);



More information about the mesa-commit mailing list