diff options
-rw-r--r-- | src/mesa/tnl/t_vertex.c | 6 |
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++; } |