Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x
authorPatrice Mandin <pmandin@caramail.com>
Thu, 6 Sep 2007 17:12:58 +0000 (19:12 +0200)
committerPatrice Mandin <pmandin@caramail.com>
Thu, 6 Sep 2007 17:12:58 +0000 (19:12 +0200)
src/mesa/tnl/t_vertex.c

index a6728c318fe3171be817885335216c0fc87a8d5b..da32be9a179ec1b1eedc924dafecff882e4543f1 100644 (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;