From: Marek Olšák Date: Wed, 24 Apr 2019 22:29:26 +0000 (-0400) Subject: util: fix a compile failure in u_compute.c on windows X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=131d56edfb6ad5ce79dbfb61e4a1da6501fef4fb;p=mesa.git util: fix a compile failure in u_compute.c on windows --- diff --git a/src/gallium/auxiliary/util/u_compute.c b/src/gallium/auxiliary/util/u_compute.c index e1e24a28c2a..ccf7119291b 100644 --- a/src/gallium/auxiliary/util/u_compute.c +++ b/src/gallium/auxiliary/util/u_compute.c @@ -105,7 +105,7 @@ void util_compute_blit(struct pipe_context *ctx, struct pipe_blit_info *blit_inf blit_info->dst.box.z, 0}; - struct pipe_constant_buffer cb = {}; + struct pipe_constant_buffer cb = {0}; cb.buffer_size = sizeof(data); cb.user_buffer = data; ctx->set_constant_buffer(ctx, PIPE_SHADER_COMPUTE, 0, &cb);