diff options
author | Samuel Pitoiset <[email protected]> | 2015-05-22 12:45:43 +0200 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-05-27 17:29:03 -0700 |
commit | 41630c0653578db0c237296aaeec0a85a4e7f4ad (patch) | |
tree | 0499629039b5543736b077c6960c94fc54fca989 | |
parent | e2d84d99f5a66738e8f584bdfea66182f36fe46c (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/gallium/drivers/vc4/vc4_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |