mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
Relax assertion to account for empty primitives.
This commit is contained in:
parent
78c5841364
commit
fe54ba3952
1 changed files with 2 additions and 1 deletions
|
|
@ -252,7 +252,8 @@ static void _save_compile_vertex_list( GLcontext *ctx )
|
|||
node->vertex_store->refcount++;
|
||||
node->prim_store->refcount++;
|
||||
|
||||
assert(node->attrsz[_TNL_ATTRIB_POS] != 0);
|
||||
assert(node->attrsz[_TNL_ATTRIB_POS] != 0 ||
|
||||
node->count == 0);
|
||||
|
||||
/* Maybe calculate normal lengths:
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue