typo fix. this case still fails.

This commit is contained in:
Aapo Tahkola 2007-01-18 05:30:20 +02:00
parent a3b4b11739
commit feeed10dfd

View file

@ -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