diff options
author | Felix Kuehling <[email protected]> | 2005-02-02 14:42:00 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2005-02-02 14:42:00 +0000 |
commit | 1a141b916123e147f3677babad3bdf4bbcad4e42 (patch) | |
tree | b6c1f624948f2b005734d378bd6c74d20459b350 | |
parent | 6286dda286515790daa8b827e5de43b548a4ff68 (diff) |
Fixed some debug output that was unconditionally enabled.
-rw-r--r-- | src/mesa/drivers/dri/savage/savagetex.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 ); } |