nine: init take_index_buffer_ownership for draws

Reviewed-by: <Axel Davy davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12284>
This commit is contained in:
Mike Blumenkrantz 2021-08-10 14:19:45 -04:00 committed by Marge Bot
parent 0dd0a92b24
commit c361658670
1 changed files with 1 additions and 0 deletions

View File

@ -2369,6 +2369,7 @@ init_draw_info(struct pipe_draw_info *info,
info->instance_count = MAX2(dev->context.stream_freq[0] & 0x7FFFFF, 1);
info->primitive_restart = FALSE;
info->has_user_indices = FALSE;
info->take_index_buffer_ownership = FALSE;
info->restart_index = 0;
}