diff options
author | Mathias Fröhlich <[email protected]> | 2018-02-25 18:01:07 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-03-01 04:06:23 +0100 |
commit | 77df52cc4febb45008db4cfca3c144482a3a8578 (patch) | |
tree | 05452a7cade7a93942af134fb9686c1436e95748 /src/mesa/vbo/vbo_save_api.c | |
parent | 19a0f27a491ae7cb3abceda8e60b9944cd273558 (diff) |
vbo: Remove vbo_save_vertex_list::enabled.
Is not used anymore on replay.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 8dac6251c4d..95593fc0a7b 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -543,7 +543,6 @@ compile_vertex_list(struct gl_context *ctx) /* Duplicate our template, increment refcounts to the storage structs: */ - node->enabled = save->enabled; STATIC_ASSERT(sizeof(node->attrsz) == sizeof(save->attrsz)); memcpy(node->attrsz, save->attrsz, sizeof(node->attrsz)); STATIC_ASSERT(sizeof(node->attrtype) == sizeof(save->attrtype)); @@ -582,7 +581,7 @@ compile_vertex_list(struct gl_context *ctx) /* create or reuse the vao */ update_vao(ctx, vpm, &save->VAO[vpm], save->vertex_store->bufferobj, buffer_offset, - node->vertex_size*sizeof(GLfloat), node->enabled, + node->vertex_size*sizeof(GLfloat), save->enabled, node->attrsz, node->attrtype, offsets); /* Reference the vao in the dlist */ node->VAO[vpm] = NULL; |