From 4445e170bee23a3607ece0e010adef7058ac6a11 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 27 Mar 2012 22:42:30 +0200 Subject: gallium: adapt to get_query_result interface change Reviewed-by: Brian Paul --- src/gallium/drivers/nvc0/nvc0_push.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvc0/nvc0_push.c') diff --git a/src/gallium/drivers/nvc0/nvc0_push.c b/src/gallium/drivers/nvc0/nvc0_push.c index 412186c2345..cea58b447a2 100644 --- a/src/gallium/drivers/nvc0/nvc0_push.c +++ b/src/gallium/drivers/nvc0/nvc0_push.c @@ -344,7 +344,7 @@ nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info) struct pipe_context *pipe = &nvc0->base.pipe; struct nvc0_so_target *targ; targ = nvc0_so_target(info->count_from_stream_output); - pipe->get_query_result(pipe, targ->pq, TRUE, &vert_count); + pipe->get_query_result(pipe, targ->pq, TRUE, (void*)&vert_count); vert_count /= targ->stride; } } -- cgit v1.2.3