diff options
author | marha <marha@users.sourceforge.net> | 2011-01-17 18:45:14 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-01-17 18:45:14 +0000 |
commit | 132e30bb74d8fd11d7d501927ffcc02676dff2a5 (patch) | |
tree | 88613375e3302942f764fa3a4a575dc5837b0ea4 /mesalib/src/mesa/tnl | |
parent | 508dc9ebf90c336c43608a7b8e94d0d2bdf6c1aa (diff) | |
parent | 0cebe8443b7c3ebf838d1a58a83851d79a6fba1e (diff) | |
download | vcxsrv-132e30bb74d8fd11d7d501927ffcc02676dff2a5.tar.gz vcxsrv-132e30bb74d8fd11d7d501927ffcc02676dff2a5.tar.bz2 vcxsrv-132e30bb74d8fd11d7d501927ffcc02676dff2a5.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/tnl')
-rw-r--r-- | mesalib/src/mesa/tnl/t_draw.c | 2 |
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.
*/
|