summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_pipe_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga/svga_pipe_query.c')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_query.c b/src/gallium/drivers/svga/svga_pipe_query.c
index bf074b6095c..33822e6e5ca 100644
--- a/src/gallium/drivers/svga/svga_pipe_query.c
+++ b/src/gallium/drivers/svga/svga_pipe_query.c
@@ -1091,7 +1091,7 @@ svga_get_query_result(struct pipe_context *pipe,
(void *)&occResult, sizeof(occResult));
vresult->b = occResult.anySamplesRendered != 0;
} else {
- uint64_t count;
+ uint64_t count = 0;
ret = get_query_result_vgpu9(svga, sq, wait, &count);
vresult->b = count != 0;
}