projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e29536
)
stop crash when debugging
author
Dave Airlie
<airliedfreedesktop.org>
Mon, 24 May 2004 10:43:43 +0000
(10:43 +0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Mon, 24 May 2004 10:43:43 +0000
(10:43 +0000)
src/mesa/drivers/dri/i830/i830_debug.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i830/i830_debug.c
b/src/mesa/drivers/dri/i830/i830_debug.c
index 84f3216dc045ca72ba367f985b513dafa51b35e4..eee48f1c135b680545a0b7cc636be68c3405e855 100644
(file)
--- 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);