vbo: Remove unused vbo_save_vertex_list::dangling_attr_ref.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 25 Feb 2018 17:01:07 +0000 (18:01 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Thu, 1 Mar 2018 03:06:23 +0000 (04:06 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/vbo/vbo_save.h
src/mesa/vbo/vbo_save_api.c

index edbce3673d2f1bf235ecf3696b23c3ee76b98718..ee3de0fedb40c69842766cc08b20164b827862f9 100644 (file)
@@ -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;
index 1edf7b9dfa94dcc84512ee0e3dcaeaf0a259cd52..a87bbe08569323511c24a0bfdc137acadeba641a 100644 (file)
@@ -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;