aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2005-02-02 14:42:00 +0000
committerFelix Kuehling <[email protected]>2005-02-02 14:42:00 +0000
commit1a141b916123e147f3677babad3bdf4bbcad4e42 (patch)
treeb6c1f624948f2b005734d378bd6c74d20459b350 /src/mesa/drivers/dri/savage
parent6286dda286515790daa8b827e5de43b548a4ff68 (diff)
Fixed some debug output that was unconditionally enabled.
Diffstat (limited to 'src/mesa/drivers/dri/savage')
-rw-r--r--src/mesa/drivers/dri/savage/savagetex.c11
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 );
}