mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 19:00:23 +01:00
Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)
This commit is contained in:
parent
d9fb113e05
commit
c080123998
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue