From 34f7681669987bc804f4603463f2fa3f82bc844f Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Thu, 3 Jun 2010 16:12:08 -0400 Subject: gallium: adjust the query interface to support custom types we need to change it to support composite types --- src/gallium/drivers/nvfx/nvfx_query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvfx/nvfx_query.c') diff --git a/src/gallium/drivers/nvfx/nvfx_query.c b/src/gallium/drivers/nvfx/nvfx_query.c index 1b20b5245d..1dab20c41a 100644 --- a/src/gallium/drivers/nvfx/nvfx_query.c +++ b/src/gallium/drivers/nvfx/nvfx_query.c @@ -96,8 +96,9 @@ nvfx_query_end(struct pipe_context *pipe, struct pipe_query *pq) static boolean nvfx_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 nvfx_context *nvfx = nvfx_context(pipe); struct nvfx_query *q = nvfx_query(pq); -- cgit v1.2.3