diff options
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_query.c b/src/gallium/drivers/virgl/virgl_query.c index 5173bd39a45..4ddb925b347 100644 --- a/src/gallium/drivers/virgl/virgl_query.c +++ b/src/gallium/drivers/virgl/virgl_query.c @@ -107,7 +107,7 @@ static boolean virgl_begin_query(struct pipe_context *ctx, return true; } -static void virgl_end_query(struct pipe_context *ctx, +static bool virgl_end_query(struct pipe_context *ctx, struct pipe_query *q) { struct virgl_context *vctx = virgl_context(ctx); @@ -121,6 +121,7 @@ static void virgl_end_query(struct pipe_context *ctx, virgl_encoder_end_query(vctx, query->handle); + return true; } static boolean virgl_get_query_result(struct pipe_context *ctx, |