summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/tri.c
diff options
context:
space:
mode:
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 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 */