projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: add bool return to pipe_context::end_query
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_pipe_query.c
diff --git
a/src/gallium/drivers/svga/svga_pipe_query.c
b/src/gallium/drivers/svga/svga_pipe_query.c
index 75bc9ce092bb42abf4aac228aa0abc81dfb5bee9..05b756a71c7f33845a7e45d8dbc53ada1e7cb1fb 100644
(file)
--- a/
src/gallium/drivers/svga/svga_pipe_query.c
+++ b/
src/gallium/drivers/svga/svga_pipe_query.c
@@
-945,7
+945,7
@@
svga_begin_query(struct pipe_context *pipe, struct pipe_query *q)
}
-static
void
+static
bool
svga_end_query(struct pipe_context *pipe, struct pipe_query *q)
{
struct svga_context *svga = svga_context(pipe);
@@
-1057,6
+1057,7
@@
svga_end_query(struct pipe_context *pipe, struct pipe_query *q)
assert(!"unexpected query type in svga_end_query()");
}
svga->sq[sq->type] = NULL;
+ return true;
}