From d64d6f7712e5e8d8f962de3455a71fce8b2a8f78 Mon Sep 17 00:00:00 2001 From: Thomas Balling Sørensen Date: Tue, 5 Oct 2010 14:25:29 +0200 Subject: vl: changed video pipe to use the new gallium API within master --- src/gallium/auxiliary/vl/vl_compositor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/vl/vl_compositor.c') diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 415dc92555f..ee7bf070037 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.c +++ b/src/gallium/auxiliary/vl/vl_compositor.c @@ -555,7 +555,9 @@ static void draw_layers(struct vl_compositor *c, c->pipe->bind_fs_state(c->pipe, frag_shaders[i]); c->pipe->set_fragment_sampler_views(c->pipe, 1, &surface_view); - c->pipe->draw_arrays(c->pipe, PIPE_PRIM_TRIANGLES, i * 6, 6); + + + util_draw_arrays(c->pipe,PIPE_PRIM_TRIANGLES,i * 6,6); if (delete_view) { pipe_sampler_view_reference(&surface_view, NULL); -- cgit v1.2.3