mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
do not rebase index buffers as it does not work currently (tested with r200 and sw mesa)
This commit is contained in:
parent
78b64d911b
commit
38e9f8b6f2
1 changed files with 3 additions and 2 deletions
|
|
@ -302,11 +302,12 @@ vbo_exec_DrawRangeElements(GLenum mode,
|
|||
* worry about performance implications of start > 0.
|
||||
*
|
||||
* XXX: consider passing start as min_index to draw_prims instead.
|
||||
* XXX: don't rebase because it didn't work.
|
||||
*/
|
||||
ib.rebase = 0;
|
||||
}
|
||||
else {
|
||||
ib.rebase = start;
|
||||
ib.rebase = /*start*/ 0;
|
||||
}
|
||||
|
||||
prim[0].begin = 1;
|
||||
|
|
@ -318,7 +319,7 @@ vbo_exec_DrawRangeElements(GLenum mode,
|
|||
prim[0].count = count;
|
||||
prim[0].indexed = 1;
|
||||
|
||||
vbo->draw_prims( ctx, exec->array.inputs, prim, 1, &ib, ib.rebase, end+1 );
|
||||
vbo->draw_prims( ctx, exec->array.inputs, prim, 1, &ib, /*ib.rebase*/ start, end+1 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue