Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x

This commit is contained in:
Patrice Mandin 2007-09-06 19:12:58 +02:00
parent db9f97e2ae
commit a956184f70

View file

@ -294,7 +294,7 @@ GLuint _tnl_install_attrs( GLcontext *ctx, const struct tnl_attr_map *map,
GLuint i, j;
assert(nr < _TNL_ATTRIB_MAX);
assert(nr == 0 || map[0].attrib == VERT_ATTRIB_POS);
/* assert(nr == 0 || map[0].attrib == VERT_ATTRIB_POS);*/
vtx->new_inputs = ~0;
vtx->need_viewport = GL_FALSE;