From 0cebe8443b7c3ebf838d1a58a83851d79a6fba1e Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 17 Jan 2011 18:28:34 +0000 Subject: mesa git update 17 jan 2011 --- mesalib/src/mesa/tnl/t_draw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesalib/src/mesa/tnl/t_draw.c') 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. */ -- cgit v1.2.3