summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-05-31 16:48:04 -0700
committerKeith Whitwell <keithw@vmware.com>2009-06-30 14:20:22 +0100
commite172c053bb196e0b159c8ff0b4cdd12eaf016c2d (patch)
treecbc4fa5cf92ffcd611044b0bfa6d4f2627c40842
parent3d213ce9a1fb006a90303f67bca1394c28ef8272 (diff)
st_vbo: turn off debug
-rw-r--r--src/mesa/state_tracker/st_vbo/st_vbo_exec_vertex.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mesa/state_tracker/st_vbo/st_vbo_exec_vertex.c b/src/mesa/state_tracker/st_vbo/st_vbo_exec_vertex.c
index 81b76b9602..d5c09b76cb 100644
--- a/src/mesa/state_tracker/st_vbo/st_vbo_exec_vertex.c
+++ b/src/mesa/state_tracker/st_vbo/st_vbo_exec_vertex.c
@@ -82,12 +82,13 @@ static INLINE void upgrade_attrib( struct st_vbo_exec_context *exec,
unsigned offset = exec->vtx.attrptr[attrib] - exec->vtx.vertex;
unsigned i;
- _mesa_printf("%s attr %d sz %d (was %d) offset %d\n",
- __FUNCTION__,
- attrib,
- new_attrib_size,
- old_attrib_size,
- offset);
+ if (0)
+ _mesa_printf("%s attr %d sz %d (was %d) offset %d\n",
+ __FUNCTION__,
+ attrib,
+ new_attrib_size,
+ old_attrib_size,
+ offset);
/* Raise a flag to prevent extend_prim() from succeeding on the
* next call. That will force a wrap_prim() and re-emit of