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:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user