summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-11-16 16:38:57 +1300
committerChris Forbes <[email protected]>2013-11-25 22:01:35 +1300
commitaadbb0f275cb2df2ec082c1f06d682f4eb96c63a (patch)
tree469659e26c1616baebc9ea1bb6c074c88313aab2 /src/mesa/vbo/vbo_exec_api.c
parent36046ae2789f74c04e6b62fa5250d81e8d1160eb (diff)
mesa: add indirect_offset, is_indirect to _mesa_prim
V3: Add missing cases V4: Add indirect_offset here too Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Eric Anholt <[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 600398c5891..c84d97f56f1 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -702,6 +702,7 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
exec->vtx.prim[i].count = 0;
exec->vtx.prim[i].num_instances = 1;
exec->vtx.prim[i].base_instance = 0;
+ exec->vtx.prim[i].is_indirect = 0;
ctx->Driver.CurrentExecPrimitive = mode;