svga: fix MSVC build error after PIPE_CAP_USER_INDEX_BUFFERS removal

Need to specify the zero for the struct initializer.  My earlier test
of the patch series was with MinGW, not MSVC.

Trivial.
This commit is contained in:
Brian Paul 2017-02-24 19:02:39 -07:00
parent 292c24ddac
commit fcf466383a

View file

@ -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)) {