From: Samuel Pitoiset Date: Fri, 22 May 2015 10:45:43 +0000 (+0200) Subject: vc4: make vc4_begin_query() return a boolean X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41630c0653578db0c237296aaeec0a85a4e7f4ad;p=mesa.git vc4: make vc4_begin_query() return a boolean I forgot to make the change in 96f164f6f047833091eb98a73aa80c31dc94f962. This fixes a warning with GCC and probably an error with Clang. Signed-off-by: Samuel Pitoiset Reviewed-by: Eric Anholt --- diff --git a/src/gallium/drivers/vc4/vc4_query.c b/src/gallium/drivers/vc4/vc4_query.c index 1792becb08f..270832eae3a 100644 --- a/src/gallium/drivers/vc4/vc4_query.c +++ b/src/gallium/drivers/vc4/vc4_query.c @@ -50,9 +50,10 @@ vc4_destroy_query(struct pipe_context *ctx, struct pipe_query *query) free(query); } -static void +static boolean vc4_begin_query(struct pipe_context *ctx, struct pipe_query *query) { + return true; } static void