diff options
author | Brian Paul <brianp@vmware.com> | 2015-10-15 14:11:54 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-10-20 12:52:41 -0600 |
commit | 971b56c643f35a2fb2f0f21cd5fd45ce9b155d4b (patch) | |
tree | ee4f6dbe4afb580ef9900c6d2f64f8b90506704a /src/mesa/vbo | |
parent | 6cc596c66bb41cd3fa60bbf630c9ea4f661a64cc (diff) | |
download | external_mesa3d-971b56c643f35a2fb2f0f21cd5fd45ce9b155d4b.zip external_mesa3d-971b56c643f35a2fb2f0f21cd5fd45ce9b155d4b.tar.gz external_mesa3d-971b56c643f35a2fb2f0f21cd5fd45ce9b155d4b.tar.bz2 |
vbo: remove unneeded ctx parameter for merge_prims()
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index fdc677f..6688ba0 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -330,8 +330,7 @@ _save_reset_counters(struct gl_context *ctx) * previous prim. */ static void -merge_prims(struct gl_context *ctx, - struct _mesa_prim *prim_list, +merge_prims(struct _mesa_prim *prim_list, GLuint *prim_count) { GLuint i; @@ -442,7 +441,7 @@ _save_compile_vertex_list(struct gl_context *ctx) */ save->copied.nr = _save_copy_vertices(ctx, node, save->buffer); - merge_prims(ctx, node->prim, &node->prim_count); + merge_prims(node->prim, &node->prim_count); /* Deal with GL_COMPILE_AND_EXECUTE: */ |