aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-07-02 14:35:50 +0000
committerBrian Paul <[email protected]>2004-07-02 14:35:50 +0000
commitbbea6ec0b62fbb2dd082b59ed5b2cfa4ed28e9dd (patch)
tree0e55fa3f0845b6d89e7d8f1abc7d3fc7a410ba92 /src/mesa/tnl/t_vertex.c
parentd07859e718767ef1dfd86ab5a80675aed0acf231 (diff)
disable some debug printfs
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r--src/mesa/tnl/t_vertex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c
index 28b81c1d371..bfa96a457d4 100644
--- a/src/mesa/tnl/t_vertex.c
+++ b/src/mesa/tnl/t_vertex.c
@@ -1027,9 +1027,10 @@ GLuint _tnl_install_attrs( GLcontext *ctx, const struct tnl_attr_map *map,
for (j = 0, i = 0; i < nr; i++) {
const GLuint format = map[i].format;
if (format == EMIT_PAD) {
+ /*
fprintf(stderr, "%d: pad %d, offset %d\n", i,
map[i].offset, offset);
-
+ */
offset += map[i].offset;
}
@@ -1046,10 +1047,11 @@ GLuint _tnl_install_attrs( GLcontext *ctx, const struct tnl_attr_map *map,
else
vtx->attr[j].vertoffset = offset;
+ /*
fprintf(stderr, "%d: %s, vp %p, offset %d\n", i,
format_info[format].name, (void *)vp,
vtx->attr[j].vertoffset);
-
+ */
offset += format_info[format].attrsize;
j++;
}