diff options
author | Marek Olšák <[email protected]> | 2012-03-27 22:42:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-03-30 17:12:51 +0200 |
commit | 4445e170bee23a3607ece0e010adef7058ac6a11 (patch) | |
tree | ce86b5413bc465bbbdb221b4b96bfcfd9e4ad385 /src/gallium/drivers/svga | |
parent | 102ed41ae6287f9f43708d10f3952c3c5b887c45 (diff) |
gallium: adapt to get_query_result interface change
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_query.c b/src/gallium/drivers/svga/svga_pipe_query.c index c44e0b8ec49..902f84c032e 100644 --- a/src/gallium/drivers/svga/svga_pipe_query.c +++ b/src/gallium/drivers/svga/svga_pipe_query.c @@ -63,7 +63,7 @@ svga_query( struct pipe_query *q ) static boolean svga_get_query_result(struct pipe_context *pipe, struct pipe_query *q, boolean wait, - void *result); + union pipe_query_result *result); static struct pipe_query *svga_create_query( struct pipe_context *pipe, unsigned query_type ) @@ -156,7 +156,7 @@ static void svga_begin_query(struct pipe_context *pipe, */ uint64_t result; - svga_get_query_result(pipe, q, TRUE, &result); + svga_get_query_result(pipe, q, TRUE, (void*)&result); assert(sq->queryResult->state != SVGA3D_QUERYSTATE_PENDING); } @@ -207,7 +207,7 @@ static void svga_end_query(struct pipe_context *pipe, static boolean svga_get_query_result(struct pipe_context *pipe, struct pipe_query *q, boolean wait, - void *vresult) + union pipe_query_result *vresult) { struct svga_context *svga = svga_context( pipe ); struct svga_screen *svgascreen = svga_screen( pipe->screen ); |