diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 510bcccfc01..a9bc1693a72 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -495,7 +495,7 @@ hud_draw_results(struct hud_context *hud, struct pipe_resource *tex) const struct pipe_sampler_state *sampler_states[] = { &hud->font_sampler_state }; struct hud_pane *pane; - struct pipe_resource *releasebuf[3] = {}; + struct pipe_resource *releasebuf[3] = { 0 }; if (!huds_visible) return; diff --git a/src/gallium/auxiliary/postprocess/pp_mlaa.c b/src/gallium/auxiliary/postprocess/pp_mlaa.c index 887618b9d66..2e5aefc28df 100644 --- a/src/gallium/auxiliary/postprocess/pp_mlaa.c +++ b/src/gallium/auxiliary/postprocess/pp_mlaa.c @@ -73,7 +73,7 @@ pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, const struct pipe_stencil_ref ref = { {1} }; - struct pipe_resource *releasebuf[2] = {}; + struct pipe_resource *releasebuf[2] = { 0 }; /* Insufficient initialization checks. */ assert(p);