aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2006-11-03 12:33:29 +0000
committerRoland Scheidegger <[email protected]>2006-11-03 12:33:29 +0000
commitc3da1501b81a31e92f485ee9fbd99e60cc3a4337 (patch)
treec27bdab828a85faa3c90015eff943d20bd5f3338
parent25b2e50229592ecd4cc3d058471bdee1cb8a0c55 (diff)
need to call bind_arrays() in vbo_exec_DrawRangeElements.
-rw-r--r--src/mesa/vbo/vbo_exec_array.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index 8f5c26920b9..803e58c1485 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -290,7 +290,9 @@ vbo_exec_DrawRangeElements(GLenum mode,
if (ctx->NewState)
_mesa_update_state( ctx );
-
+
+ bind_arrays( ctx );
+
ib.count = count;
ib.type = type;
ib.obj = ctx->Array.ElementArrayBufferObj;