typo fix. this case still fails.
authorAapo Tahkola <aapo@aapo-desktop.(none)>
Thu, 18 Jan 2007 03:30:20 +0000 (05:30 +0200)
committerAapo Tahkola <aapo@aapo-desktop.(none)>
Thu, 18 Jan 2007 03:30:20 +0000 (05:30 +0200)
src/mesa/vbo/vbo_split.c

index 171859a18e00682c91f8f18c588df85722fcc755..ef205a3bb1fb47532131c6cc638eb2cc4a81f697 100644 (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