summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i830/i830_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i830/i830_debug.c')
-rw-r--r--src/mesa/drivers/dri/i830/i830_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_debug.c b/src/mesa/drivers/dri/i830/i830_debug.c
index 84f3216dc0..eee48f1c13 100644
--- a/src/mesa/drivers/dri/i830/i830_debug.c
+++ b/src/mesa/drivers/dri/i830/i830_debug.c
@@ -291,7 +291,7 @@ void i830VertexSanity( i830ContextPtr imesa, drmI830Vertex vertex )
remaining / vfmt_size);
}
}
- if (1) {
+ if (vfmt_size) {
fprintf(stderr, "\n\nPrim name (%s), vertices (%d)\n",
prim_name,
size / vfmt_size);