stop crash when debugging

This commit is contained in:
Dave Airlie 2004-05-24 10:43:43 +00:00
parent 9e29536f28
commit 257e474474

View file

@ -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);