summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-02-13 17:01:17 +0100
committerSamuel Pitoiset <[email protected]>2016-02-13 17:08:24 +0100
commitb410ed9215506398191d0120357564eca0cd9717 (patch)
tree506a5af53d1988434db60e895edf54c2afdbcf83 /src/mesa
parent628b0e8571bd7b060ad2d2da756ebd76142db9d2 (diff)
st/mesa: fix pipe_grid_info initializer
Fixes MSVC build error which doesn't allow empty initializers. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_cb_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_compute.c b/src/mesa/state_tracker/st_cb_compute.c
index 79a616cf33c..364159d62d8 100644
--- a/src/mesa/state_tracker/st_cb_compute.c
+++ b/src/mesa/state_tracker/st_cb_compute.c
@@ -42,7 +42,7 @@ static void st_dispatch_compute_common(struct gl_context *ctx,
ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE];
struct st_context *st = st_context(ctx);
struct pipe_context *pipe = st->pipe;
- struct pipe_grid_info info = {};
+ struct pipe_grid_info info = { 0 };
if (ctx->NewState)
_mesa_update_state(ctx);