summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-02-10 12:52:35 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-02-10 12:52:35 +0000
commite1f5b78917918763a2e3958825c330bf941becfb (patch)
tree2472bbef159ca08978489639bca6c91793975f8f
parent43ee9f09f95ecf931288ad152f903b3b5d44a413 (diff)
Fix debug statements
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c
index 4bb4635990..8df247c078 100644
--- a/src/mesa/drivers/dri/unichrome/via_tex.c
+++ b/src/mesa/drivers/dri/unichrome/via_tex.c
@@ -371,7 +371,7 @@ GLboolean viaSwapOutWork( struct via_context *vmesa )
if (VIA_DEBUG & DEBUG_TEXTURE)
fprintf(stderr,
"back copy tex sz %d, lastUsed %d lastSwap %d\n",
- s->size, s->lastUsed, vmesa->lastSwap);
+ s->size, s->lastUsed, vmesa->lastSwap[1]);
done += s->size;
viaMoveTexBuffers( vmesa, &s, 1, VIA_MEM_SYSTEM );
@@ -381,7 +381,7 @@ GLboolean viaSwapOutWork( struct via_context *vmesa )
if (VIA_DEBUG & DEBUG_TEXTURE)
fprintf(stderr,
"don't touch tex sz %d, lastUsed %d lastSwap %d\n",
- s->size, s->lastUsed, vmesa->lastSwap);
+ s->size, s->lastUsed, vmesa->lastSwap[1]);
}
if (done > target)