Fixed some debug output that was unconditionally enabled.
authorFelix Kuehling <fxkuehl@gmx.de>
Wed, 2 Feb 2005 14:42:00 +0000 (14:42 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Wed, 2 Feb 2005 14:42:00 +0000 (14:42 +0000)
src/mesa/drivers/dri/savage/savagetex.c

index fd8bd0d1258cae86e67b80bd8b08bc52d2c01423..c0185fa8316bdae4e9d9dfbc7546c5330dfef9aa 100644 (file)
@@ -736,11 +736,12 @@ static void savageUploadTexImages( savageContextPtr imesa, savageTexObjPtr t )
            savageMarkAllTiles(t, j);
            if (SAVAGE_DEBUG & DEBUG_VERBOSE_TEX)
                fprintf (stderr, "*");
-        } else if ((SAVAGE_DEBUG & DEBUG_VERBOSE_TEX) &&
-                   t->dirtySubImages & (1 << j))
-           fprintf (stderr, ".");
-        else
-           fprintf (stderr, " ");
+        } else if (SAVAGE_DEBUG & DEBUG_VERBOSE_TEX) {
+           if (t->dirtySubImages & (1 << j))
+              fprintf (stderr, ".");
+           else
+              fprintf (stderr, " ");
+        }
         if ((t->base.dirty_images[0] | t->dirtySubImages) & (1 << j))
            savageUploadTexLevel( t, j );
       }