From: Patrice Mandin Date: Thu, 6 Sep 2007 17:12:58 +0000 (+0200) Subject: Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a956184f70733bd22e2bbee515386da12302963f;p=mesa.git Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x --- diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index a6728c318fe..da32be9a179 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa/tnl/t_vertex.c @@ -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;