aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_draw.c
diff options
context:
space:
mode:
authorAapo Tahkola <aapo@aapo-desktop.(none)>2007-02-26 01:51:39 +0200
committerAapo Tahkola <aapo@aapo-desktop.(none)>2007-02-26 01:51:39 +0200
commitc080123998f28d9317331aec7ddfcd1074b29daf (patch)
treefac8f75519d6d5c6d17f977178e3b604a661bae2 /src/mesa/vbo/vbo_save_draw.c
parentd9fb113e0571dba9ac29576015cb5816c53ac467 (diff)
Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index a50d1cd9049..bc59a0d8211 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -218,7 +218,7 @@ void vbo_save_playback_vertex_list( GLcontext *ctx, void *data )
node->prim_count,
NULL,
0, /* Node is a VBO, so this is ok */
- node->count );
+ node->count - 1);
}
/* Copy to current?