summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2012-06-18 22:50:01 +0200
committerBrian Paul <[email protected]>2012-06-19 07:57:22 -0600
commitae5d7d5e8970f90b9713897387d7d46a2b4485ab (patch)
tree613e018da02dea4c833b03259ecf1c5c9e80ed58 /src/mesa/vbo/vbo_exec_api.c
parentee99647e02fe5b947838cfea276f095775eb1537 (diff)
mesa: Add support for GL_ARB_base_instance
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_api.c')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index 28d2c4de902..bfa1b1db826 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -827,6 +827,7 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
exec->vtx.prim[i].start = exec->vtx.vert_count;
exec->vtx.prim[i].count = 0;
exec->vtx.prim[i].num_instances = 1;
+ exec->vtx.prim[i].base_instance = 0;
ctx->Driver.CurrentExecPrimitive = mode;
}