gallium: weaken assert slightly

This commit is contained in:
Keith Whitwell 2008-01-29 15:17:56 +00:00
parent c81848210e
commit 1aaed38568

View file

@ -174,7 +174,7 @@ unsigned draw_vf_set_vertex_attributes( struct draw_vertex_fetch *vf,
}
else {
assert(vf->lookup[map[i].attrib] == 0);
assert(vf->lookup[map[i].attrib] == 0 || format == DRAW_EMIT_1F_CONST);
vf->lookup[map[i].attrib] = &vf->attr[j];
vf->attr[j].attrib = map[i].attrib;