summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-01-25 18:52:40 +0100
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-01-25 18:52:40 +0100
commit38e9f8b6f297bafba639ce192fc9926c8e890271 (patch)
treea6ab61c6772e669355dc26bdb288e2c16fb7b6cb /src/mesa
parent78b64d911b4b50ab744f250522a88b3952859f98 (diff)
do not rebase index buffers as it does not work currently (tested with r200 and sw mesa)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index e0a6240c2a..5a3a7488ed 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -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 );
}