summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/shader-leak.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/shader-leak.c')
-rw-r--r--src/gallium/tests/graw/shader-leak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c
index b685fb98494..e612e62c82a 100644
--- a/src/gallium/tests/graw/shader-leak.c
+++ b/src/gallium/tests/graw/shader-leak.c
@@ -152,7 +152,7 @@ static void draw( void )
ctx->clear(ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);
util_draw_arrays(ctx, PIPE_PRIM_POINTS, 0, 1);
- ctx->flush(ctx, NULL);
+ ctx->flush(ctx, NULL, 0);
ctx->bind_fs_state(ctx, NULL);
ctx->delete_fs_state(ctx, fs);