summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2007-09-06 19:12:58 +0200
committerPatrice Mandin <[email protected]>2007-09-06 19:12:58 +0200
commita956184f70733bd22e2bbee515386da12302963f (patch)
tree218da32078627b22644c9989aa69718ce4aba4e3 /src/mesa/tnl/t_vertex.c
parentdb9f97e2aeeee31f8a015b3f5f4fa80d9c0bfd2e (diff)
Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r--src/mesa/tnl/t_vertex.c2
1 files changed, 1 insertions, 1 deletions
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;