summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/tri.c
diff options
context:
space:
mode:
authorAndreas Boll <[email protected]>2012-11-20 21:04:25 +0100
committerAndreas Boll <[email protected]>2012-11-27 19:00:48 +0100
commit1553f5ce83c6baee5e3896ff345baa43f888409d (patch)
treefef91c3a40c1fcf916f72baea64fc646ae925688 /src/gallium/tests/trivial/tri.c
parent9bd4856b5c8337a7c749df8172843ca364ac53e0 (diff)
gallium/tests/trivial: updates for util_draw_vertex_buffer changes
Fixes build error with configure option --enable-gallium-tests introduced in e73bf3b805de78299f1a652668ba4e6eab9bac94 Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/tests/trivial/tri.c')
-rw-r--r--src/gallium/tests/trivial/tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c
index f3e1e944154..f9b4696abef 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 */