projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07859e
)
disable some debug printfs
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 2 Jul 2004 14:35:50 +0000
(14:35 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 2 Jul 2004 14:35:50 +0000
(14:35 +0000)
src/mesa/tnl/t_vertex.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vertex.c
b/src/mesa/tnl/t_vertex.c
index 28b81c1d371e66d867c149f60e82cb589965097e..bfa96a457d4280bf44caff21c9e1959b442408cc 100644
(file)
--- 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++;
}