From: Aapo Tahkola Date: Thu, 18 Jan 2007 03:30:20 +0000 (+0200) Subject: typo fix. this case still fails. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=feeed10dfd1495eb15924868fec3b795fb4b1ba3;p=mesa.git typo fix. this case still fails. --- diff --git a/src/mesa/vbo/vbo_split.c b/src/mesa/vbo/vbo_split.c index 171859a18e0..ef205a3bb1f 100644 --- a/src/mesa/vbo/vbo_split.c +++ b/src/mesa/vbo/vbo_split.c @@ -121,7 +121,7 @@ void vbo_split_prims( GLcontext *ctx, */ assert(0); } - else if (max_index - min_index > limits->max_verts) { + else if (max_index - min_index >= limits->max_verts) { /* The vertex buffers are too large for hardware (or the * swtnl module). Traverse the indices, re-emitting vertices * in turn. Use a vertex cache to preserve some of the