projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: make pipe_context::begin_query return a boolean
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_query.c
diff --git
a/src/gallium/drivers/softpipe/sp_query.c
b/src/gallium/drivers/softpipe/sp_query.c
index e2fc917b3617509e924f73c77f2d24e49602bbdc..e77387082bc0d71690e9f9ad8d3d4398aaad0ac7 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_query.c
+++ b/
src/gallium/drivers/softpipe/sp_query.c
@@
-83,7
+83,7
@@
softpipe_destroy_query(struct pipe_context *pipe, struct pipe_query *q)
}
-static
void
+static
boolean
softpipe_begin_query(struct pipe_context *pipe, struct pipe_query *q)
{
struct softpipe_context *softpipe = softpipe_context( pipe );
@@
-130,6
+130,7
@@
softpipe_begin_query(struct pipe_context *pipe, struct pipe_query *q)
}
softpipe->active_query_count++;
softpipe->dirty |= SP_NEW_QUERY;
+ return true;
}