From 257e474474b929b9a407e284601c8665cdc42111 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 24 May 2004 10:43:43 +0000 Subject: [PATCH] stop crash when debugging --- src/mesa/drivers/dri/i830/i830_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i830/i830_debug.c b/src/mesa/drivers/dri/i830/i830_debug.c index 84f3216dc04..eee48f1c135 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); -- 2.30.2