gallium/tests/trivial: updates for util_draw_vertex_buffer changes

Fixes build error with configure option --enable-gallium-tests
introduced in e73bf3b805

Reviewed-by: Marek Olšák <maraeo@gmail.com>
This commit is contained in:
Andreas Boll
2012-11-20 21:04:25 +01:00
parent 9bd4856b5c
commit 1553f5ce83
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 */
+1 -1
View File
@@ -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 */