summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c
index bbd44304950..b9637b25b34 100644
--- a/src/gallium/drivers/svga/svga_pipe_draw.c
+++ b/src/gallium/drivers/svga/svga_pipe_draw.c
@@ -196,7 +196,7 @@ svga_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
goto done;
/* Upload a user index buffer. */
- struct pipe_index_buffer ibuffer_saved = {};
+ struct pipe_index_buffer ibuffer_saved = {0};
if (info->indexed && svga->curr.ib.user_buffer &&
!util_save_and_upload_index_buffer(pipe, info, &svga->curr.ib,
&ibuffer_saved)) {