Mesa (master): vc4: make vc4_begin_query() return a boolean
Eric Anholt
anholt at kemper.freedesktop.org
Thu May 28 00:32:41 UTC 2015
Module: Mesa
Branch: master
Commit: 41630c0653578db0c237296aaeec0a85a4e7f4ad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41630c0653578db0c237296aaeec0a85a4e7f4ad
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri May 22 12:45:43 2015 +0200
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 <samuel.pitoiset at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/gallium/drivers/vc4/vc4_query.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/vc4/vc4_query.c b/src/gallium/drivers/vc4/vc4_query.c
index 1792bec..270832e 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
More information about the mesa-commit
mailing list