mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
svga: initialize a variable to silence a gcc warning
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
607ab6d3bf
commit
55417140cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue