mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 18:30:31 +01:00
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:
parent
292c24ddac
commit
fcf466383a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue