From: Mathias Fröhlich Date: Sun, 25 Feb 2018 17:01:07 +0000 (+0100) Subject: vbo: Remove unused vbo_save_vertex_list::dangling_attr_ref. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07915020f0de9f5f1e8865bb61e2cf0d673ff278;p=mesa.git vbo: Remove unused vbo_save_vertex_list::dangling_attr_ref. Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h index edbce3673d2..ee3de0fedb4 100644 --- a/src/mesa/vbo/vbo_save.h +++ b/src/mesa/vbo/vbo_save.h @@ -79,8 +79,6 @@ struct vbo_save_vertex_list { GLuint start_vertex; /**< first vertex used by any primitive */ GLuint vertex_count; /**< number of vertices in this list */ GLuint wrap_count; /* number of copied vertices at start */ - GLboolean dangling_attr_ref; /* current attr implicitly referenced - outside the list */ struct _mesa_prim *prims; GLuint prim_count; diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 1edf7b9dfa9..a87bbe08569 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -573,7 +573,6 @@ compile_vertex_list(struct gl_context *ctx) } node->vertex_count = save->vert_count; node->wrap_count = save->copied.nr; - node->dangling_attr_ref = save->dangling_attr_ref; node->prims = save->prims; node->prim_count = save->prim_count; node->vertex_store = save->vertex_store;