diff options
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw/fs-write-z.c')
-rw-r--r-- | lib/mesa/src/gallium/tests/graw/fs-write-z.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/tests/graw/fs-write-z.c b/lib/mesa/src/gallium/tests/graw/fs-write-z.c index 196c67bc3..ac255b6b6 100644 --- a/lib/mesa/src/gallium/tests/graw/fs-write-z.c +++ b/lib/mesa/src/gallium/tests/graw/fs-write-z.c @@ -102,7 +102,7 @@ set_vertices(void) sizeof(vertices), vertices); - info.ctx->set_vertex_buffers(info.ctx, 0, 1, &vbuf); + info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); } @@ -164,6 +164,7 @@ draw(void) info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR | PIPE_CLEAR_DEPTHSTENCIL, + NULL, &clear_color, 1.0, 0); util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, NUM_VERTS); info.ctx->flush(info.ctx, NULL, 0); |