diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-01-29 15:17:56 +0000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:25 +1100 |
commit | b63f994ec7742da53b4c32ff7ee8219bbd72c2ef (patch) | |
tree | 0268ea66b4ffca7b5f5966d0f7894cc5a819d728 | |
parent | d7d3c752368a236dd4755b00175d0e13212fac47 (diff) |
gallium: weaken assert slightly
-rw-r--r-- | src/mesa/pipe/draw/draw_vf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vf.c b/src/mesa/pipe/draw/draw_vf.c index 958d31933b..06b84b93cc 100644 --- a/src/mesa/pipe/draw/draw_vf.c +++ b/src/mesa/pipe/draw/draw_vf.c @@ -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; |