From 07915020f0de9f5f1e8865bb61e2cf0d673ff278 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathias=20Fr=C3=B6hlich?= Date: Sun, 25 Feb 2018 18:01:07 +0100 Subject: [PATCH] vbo: Remove unused vbo_save_vertex_list::dangling_attr_ref. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/vbo/vbo_save.h | 2 -- src/mesa/vbo/vbo_save_api.c | 1 - 2 files changed, 3 deletions(-) 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; -- 2.30.2