From aaa758d3dd4112e6ce52b033cb6dcabfcebadb1f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 10 Feb 2020 20:25:52 -0500 Subject: mesa: remove redundant _mesa_prim::is_indexed Instead, check (ib != NULL) like all other drivers. Reviewed-by: Ian Romanick Part-of: --- src/mesa/vbo/vbo_exec_api.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/vbo') 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; -- cgit v1.2.3