OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2d84d9
)
vc4: make vc4_begin_query() return a boolean
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 22 May 2015 10:45:43 +0000
(12:45 +0200)
committer
Eric Anholt
<eric@anholt.net>
Thu, 28 May 2015 00:29:03 +0000
(17:29 -0700)
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@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/vc4_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_query.c
b/src/gallium/drivers/vc4/vc4_query.c
index
1792bec
..
270832e
100644
(file)
--- 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