Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)

This commit is contained in:
Aapo Tahkola 2007-02-26 01:51:39 +02:00
parent d9fb113e05
commit c080123998
2 changed files with 2 additions and 2 deletions

View file

@ -218,7 +218,7 @@ void vbo_exec_vtx_flush( struct vbo_exec_context *exec )
exec->vtx.prim_count,
NULL,
0,
exec->vtx.vert_count );
exec->vtx.vert_count - 1);
}
}

View file

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