projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c818482
)
gallium: weaken assert slightly
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 29 Jan 2008 15:17:56 +0000
(15:17 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 29 Jan 2008 15:17:56 +0000
(15:17 +0000)
src/mesa/pipe/draw/draw_vf.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_vf.c
b/src/mesa/pipe/draw/draw_vf.c
index 958d31933bac028cbd2daa97d9f80faa2c0cff41..06b84b93cc8c4fd6b8709e865f10d1251a12a223 100644
(file)
--- 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;