projects
/
profile
/
ivi
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: adjust the query interface to support custom types
[profile/ivi/mesa.git]
/
src
/
gallium
/
drivers
/
nv50
/
nv50_query.c
diff --git
a/src/gallium/drivers/nv50/nv50_query.c
b/src/gallium/drivers/nv50/nv50_query.c
index
57b16a3
..
53f9482
100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_query.c
+++ b/
src/gallium/drivers/nv50/nv50_query.c
@@
-106,8
+106,9
@@
nv50_query_end(struct pipe_context *pipe, struct pipe_query *pq)
static boolean
nv50_query_result(struct pipe_context *pipe, struct pipe_query *pq,
- boolean wait,
uint64_t *
result)
+ boolean wait,
void *v
result)
{
+ uint64_t *result = (uint64_t*)vresult;
struct nv50_query *q = nv50_query(pq);
int ret;