summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2013-11-16 16:38:57 +1300
committerChris Forbes <chrisf@ijw.co.nz>2013-11-25 22:01:35 +1300
commitaadbb0f275cb2df2ec082c1f06d682f4eb96c63a (patch)
tree469659e26c1616baebc9ea1bb6c074c88313aab2 /src/mesa/vbo/vbo_exec_api.c
parent36046ae2789f74c04e6b62fa5250d81e8d1160eb (diff)
downloadexternal_mesa3d-aadbb0f275cb2df2ec082c1f06d682f4eb96c63a.zip
external_mesa3d-aadbb0f275cb2df2ec082c1f06d682f4eb96c63a.tar.gz
external_mesa3d-aadbb0f275cb2df2ec082c1f06d682f4eb96c63a.tar.bz2
mesa: add indirect_offset, is_indirect to _mesa_prim
V3: Add missing cases V4: Add indirect_offset here too Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
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 600398c..c84d97f 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;