aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_pipe_query.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-26 18:58:16 -0600
committerBrian Paul <[email protected]>2016-05-27 10:01:12 -0600
commit2318d2015a050955c2631eea7fc49af970b9abe8 (patch)
tree1c379e90f4137f1b0ece426a97b17fdbd78c7fed /src/gallium/drivers/svga/svga_pipe_query.c
parent9be122e9b0fc6b0a0651601556d0ae2be9a159ee (diff)
svga: remove unneeded casts in get_query_result_vgpu9() calls
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_pipe_query.c')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_query.c b/src/gallium/drivers/svga/svga_pipe_query.c
index c1bd8ec3a0d..4febf9bd510 100644
--- a/src/gallium/drivers/svga/svga_pipe_query.c
+++ b/src/gallium/drivers/svga/svga_pipe_query.c
@@ -1078,7 +1078,7 @@ svga_get_query_result(struct pipe_context *pipe,
(void *)&occResult, sizeof(occResult));
*result = (uint64_t)occResult.samplesRendered;
} else {
- ret = get_query_result_vgpu9(svga, sq, wait, (uint64_t *)result);
+ ret = get_query_result_vgpu9(svga, sq, wait, result);
}
break;
case PIPE_QUERY_OCCLUSION_PREDICATE: {
@@ -1089,7 +1089,7 @@ svga_get_query_result(struct pipe_context *pipe,
vresult->b = occResult.anySamplesRendered != 0;
} else {
uint64_t count;
- ret = get_query_result_vgpu9(svga, sq, wait, (uint64_t *)&count);
+ ret = get_query_result_vgpu9(svga, sq, wait, &count);
vresult->b = count != 0;
}
break;