use R200_DEBUG for debug output
authorChristoff Brill <egore@gmx.de>
Thu, 17 May 2007 23:17:25 +0000 (17:17 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 17 May 2007 23:17:25 +0000 (17:17 -0600)
src/mesa/drivers/dri/r200/r200_tex.c

index 85baff0b08a006cf2ff4a45320969ee2a90d9449..90166f197feea76d0fac75742fd6e2fbdcee0a90 100644 (file)
@@ -482,7 +482,7 @@ r200ValidateClientStorage( GLcontext *ctx, GLenum target,
 {
    r200ContextPtr rmesa = R200_CONTEXT(ctx);
 
-   if (0)
+   if ( R200_DEBUG & DEBUG_TEXTURE )
       fprintf(stderr, "intformat %s format %s type %s\n",
              _mesa_lookup_enum_by_nr( internalFormat ),
              _mesa_lookup_enum_by_nr( format ),
@@ -548,7 +548,7 @@ r200ValidateClientStorage( GLcontext *ctx, GLenum target,
                                                  format, type);
 
       
-      if (0)
+      if ( R200_DEBUG & DEBUG_TEXTURE )
         fprintf(stderr, "%s: srcRowStride %d/%x\n", 
                 __FUNCTION__, srcRowStride, srcRowStride);