summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-02-10 20:25:52 -0500
committerMarge Bot <eric+marge@anholt.net>2020-02-28 00:53:45 +0000
commitaaa758d3dd4112e6ce52b033cb6dcabfcebadb1f (patch)
treec8ea0eb8c13dab4c013f5bb0168186922e906abb /src/mesa/tnl
parent0c9850e55d11447d79bba1ad070f57ed52e85c96 (diff)
mesa: remove redundant _mesa_prim::is_indexed
Instead, check (ib != NULL) like all other drivers. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3990>
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_split_inplace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_split_inplace.c b/src/mesa/tnl/t_split_inplace.c
index 395af573361..048f87309ee 100644
--- a/src/mesa/tnl/t_split_inplace.c
+++ b/src/mesa/tnl/t_split_inplace.c
@@ -230,7 +230,6 @@ split_prims(struct split_context *split)
ib.ptr = elts;
tmpprim = *prim;
- tmpprim.indexed = 1;
tmpprim.start = 0;
tmpprim.count = count;
tmpprim.num_instances = 1;