From 6e9f00e3fc6f3b1331031f0995254c768d38ea81 Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Sun, 25 Mar 2018 19:16:54 +0200 Subject: vbo: Move vbo_split into the tnl module. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the files, adapt to the naming scheme in tnl, update callers and build system. Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/tnl/t_draw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/tnl/t_draw.c') diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c index a0fd58432a1..a83b98eede1 100644 --- a/src/mesa/tnl/t_draw.c +++ b/src/mesa/tnl/t_draw.c @@ -486,10 +486,10 @@ void _tnl_draw_prims(struct gl_context *ctx, /* This will split the buffers one way or another and * recursively call back into this function. */ - vbo_split_prims( ctx, arrays, prim, nr_prims, ib, - 0, max_index + prim->basevertex, - _tnl_draw_prims, - &limits ); + _tnl_split_prims( ctx, arrays, prim, nr_prims, ib, + 0, max_index + prim->basevertex, + _tnl_draw_prims, + &limits ); } else { /* May need to map a vertex buffer object for every attribute plus -- cgit v1.2.3