From: Felix Kuehling Date: Wed, 2 Feb 2005 14:42:00 +0000 (+0000) Subject: Fixed some debug output that was unconditionally enabled. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a141b916123e147f3677babad3bdf4bbcad4e42;p=mesa.git Fixed some debug output that was unconditionally enabled. --- diff --git a/src/mesa/drivers/dri/savage/savagetex.c b/src/mesa/drivers/dri/savage/savagetex.c index fd8bd0d1258..c0185fa8316 100644 --- a/src/mesa/drivers/dri/savage/savagetex.c +++ b/src/mesa/drivers/dri/savage/savagetex.c @@ -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 ); }