mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
gallium: weaken assert slightly
This commit is contained in:
parent
c81848210e
commit
1aaed38568
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue