diff options
author | Zack Rusin <[email protected]> | 2010-06-03 16:12:08 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-06-08 06:28:11 -0400 |
commit | 34f7681669987bc804f4603463f2fa3f82bc844f (patch) | |
tree | 01333d9d219220d2c018f941f177590f20079ec9 /src/gallium/drivers/nv50/nv50_query.c | |
parent | 3a7fc2e4f3de23ab384ca679444971693a35a4c7 (diff) |
gallium: adjust the query interface to support custom types
we need to change it to support composite types
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_query.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_query.c b/src/gallium/drivers/nv50/nv50_query.c index 57b16a355dc..53f94820ce0 100644 --- 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 *vresult) { + uint64_t *result = (uint64_t*)vresult; struct nv50_query *q = nv50_query(pq); int ret; |