mesa: Branch 'vbo-0.2'
Aapo Tahkola
aapot at kemper.freedesktop.org
Thu Jan 18 03:29:07 UTC 2007
src/mesa/vbo/vbo_split.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree feeed10dfd1495eb15924868fec3b795fb4b1ba3 (from a3b4b1173950599785e4f05278e868180a2bf387)
Author: Aapo Tahkola <aapo at aapo-desktop.(none)>
Date: Thu Jan 18 05:30:20 2007 +0200
typo fix. this case still fails.
diff --git a/src/mesa/vbo/vbo_split.c b/src/mesa/vbo/vbo_split.c
index 171859a..ef205a3 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
More information about the mesa-commit
mailing list