For the series:

Reviewed-by: Marek Olšák <[email protected]>

Marek

On Wed, Nov 21, 2012 at 6:12 PM, Andreas Boll
<[email protected]> wrote:
> Fixes build error with configure option --enable-gallium-tests
> introduced in e73bf3b805de78299f1a652668ba4e6eab9bac94
>
> Cc: Marek Olšák <[email protected]>
> ---
>  src/gallium/tests/trivial/quad-tex.c |    2 +-
>  src/gallium/tests/trivial/tri.c      |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/tests/trivial/quad-tex.c 
> b/src/gallium/tests/trivial/quad-tex.c
> index 6162dd0..f0c30d9 100644
> --- a/src/gallium/tests/trivial/quad-tex.c
> +++ b/src/gallium/tests/trivial/quad-tex.c
> @@ -329,7 +329,7 @@ static void draw(struct program *p)
>         cso_set_vertex_elements(p->cso, 2, p->velem);
>
>         util_draw_vertex_buffer(p->pipe, p->cso,
> -                               p->vbuf, 0,
> +                               p->vbuf, 0, 0,
>                                 PIPE_PRIM_QUADS,
>                                 4,  /* verts */
>                                 2); /* attribs/vert */
> diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c
> index f3e1e94..f9b4696 100644
> --- a/src/gallium/tests/trivial/tri.c
> +++ b/src/gallium/tests/trivial/tri.c
> @@ -262,7 +262,7 @@ static void draw(struct program *p)
>         cso_set_vertex_elements(p->cso, 2, p->velem);
>
>         util_draw_vertex_buffer(p->pipe, p->cso,
> -                               p->vbuf, 0,
> +                               p->vbuf, 0, 0,
>                                 PIPE_PRIM_TRIANGLES,
>                                 3,  /* verts */
>                                 2); /* attribs/vert */
> --
> 1.7.10.4
>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to