summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <aapo@aapo-desktop.(none)>2007-01-18 05:30:20 +0200
committerAapo Tahkola <aapo@aapo-desktop.(none)>2007-01-18 05:30:20 +0200
commitfeeed10dfd1495eb15924868fec3b795fb4b1ba3 (patch)
treec5db97d231087b54ae4e4a4aa1276d6be3fb6ebd /src/mesa
parenta3b4b1173950599785e4f05278e868180a2bf387 (diff)
typo fix. this case still fails.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/vbo/vbo_split.c2
1 files changed, 1 insertions, 1 deletions
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