aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-02-10 20:25:52 -0500
committerMarge Bot <[email protected]>2020-02-28 00:53:45 +0000
commitaaa758d3dd4112e6ce52b033cb6dcabfcebadb1f (patch)
treec8ea0eb8c13dab4c013f5bb0168186922e906abb /src/mesa/vbo
parent0c9850e55d11447d79bba1ad070f57ed52e85c96 (diff)
mesa: remove redundant _mesa_prim::is_indexed
Instead, check (ib != NULL) like all other drivers. Reviewed-by: Ian Romanick <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3990>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index 16df956d85d..d724f4efe11 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -810,7 +810,6 @@ vbo_exec_Begin(GLenum mode)
exec->vtx.prim[i].mode = mode;
exec->vtx.prim[i].begin = 1;
exec->vtx.prim[i].end = 0;
- exec->vtx.prim[i].indexed = 0;
exec->vtx.prim[i].start = exec->vtx.vert_count;
exec->vtx.prim[i].count = 0;
exec->vtx.prim[i].num_instances = 1;