aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/tnl
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-17 18:28:34 +0000
committermarha <marha@users.sourceforge.net>2011-01-17 18:28:34 +0000
commit0cebe8443b7c3ebf838d1a58a83851d79a6fba1e (patch)
tree82da72a17c42d3de81567044b0fed496e81612ac /mesalib/src/mesa/tnl
parentaaa4964a2277a1e265da4e7b91d5b1e3c3faa84e (diff)
downloadvcxsrv-0cebe8443b7c3ebf838d1a58a83851d79a6fba1e.tar.gz
vcxsrv-0cebe8443b7c3ebf838d1a58a83851d79a6fba1e.tar.bz2
vcxsrv-0cebe8443b7c3ebf838d1a58a83851d79a6fba1e.zip
mesa git update 17 jan 2011
Diffstat (limited to 'mesalib/src/mesa/tnl')
-rw-r--r--mesalib/src/mesa/tnl/t_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/tnl/t_draw.c b/mesalib/src/mesa/tnl/t_draw.c
index 2a11091c8..741f0ed3f 100644
--- a/mesalib/src/mesa/tnl/t_draw.c
+++ b/mesalib/src/mesa/tnl/t_draw.c
@@ -468,6 +468,8 @@ void _tnl_draw_prims( struct gl_context *ctx,
break;
}
+ assert(prim[i].num_instances > 0);
+
/* Binding inputs may imply mapping some vertex buffer objects.
* They will need to be unmapped below.
*/