OSDN Git Service
(root)
/
android-x86
/
external-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
[android-x86/external-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
81e9710
..
bec0116
100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_query.c
+++ b/
src/gallium/drivers/softpipe/sp_query.c
@@
-134,7
+134,7
@@
softpipe_begin_query(struct pipe_context *pipe, struct pipe_query *q)
}
-static
void
+static
bool
softpipe_end_query(struct pipe_context *pipe, struct pipe_query *q)
{
struct softpipe_context *softpipe = softpipe_context( pipe );
@@
-201,6
+201,7
@@
softpipe_end_query(struct pipe_context *pipe, struct pipe_query *q)
break;
}
softpipe->dirty |= SP_NEW_QUERY;
+ return true;
}