lavapipe: fix msvc initialiser

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9208>
This commit is contained in:
Dave Airlie 2021-02-22 11:14:05 +10:00
parent 4eada33223
commit deb44bc317

View file

@ -1236,7 +1236,7 @@ static void render_subpass_clear_fast(struct rendering_state *state)
const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass];
bool has_color_value = false;
uint32_t buffers = 0;
VkClearValue color_value = {};
VkClearValue color_value = {0};
double dclear_val = 0;
uint32_t sclear_val = 0;