diff options
author | Marek Olšák <[email protected]> | 2019-04-24 18:29:26 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-04-24 19:04:20 -0400 |
commit | 131d56edfb6ad5ce79dbfb61e4a1da6501fef4fb (patch) | |
tree | 506b5d95225efcb9d3acee99a2af2db9b787f391 /src/gallium/auxiliary | |
parent | c7c59f75e59510be890bc77a9257c14ffd5b7b59 (diff) |
util: fix a compile failure in u_compute.c on windows
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |