diff options
author | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-05 14:25:29 +0200 |
---|---|---|
committer | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-05 14:25:29 +0200 |
commit | d64d6f7712e5e8d8f962de3455a71fce8b2a8f78 (patch) | |
tree | 0bb1faa2fa537391695f852a54020b0123677104 /src/gallium/auxiliary/vl/vl_compositor.c | |
parent | 1218430e1200a08cd64b6555d3fd1fd0274ad9e5 (diff) |
vl: changed video pipe to use the new gallium API within master
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_compositor.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |