Merge pull request #68303 from pkdawson/fix-index-offsets
RenderingDevice: Fix usage of index offset
This commit is contained in:
commit
75e5504f75
1 changed files with 1 additions and 1 deletions
|
@ -7751,7 +7751,7 @@ void RenderingDeviceVulkan::draw_list_bind_index_array(DrawListID p_list, RID p_
|
||||||
dl->validation.index_array_size = index_array->indices;
|
dl->validation.index_array_size = index_array->indices;
|
||||||
dl->validation.index_array_offset = index_array->offset;
|
dl->validation.index_array_offset = index_array->offset;
|
||||||
|
|
||||||
vkCmdBindIndexBuffer(dl->command_buffer, index_array->buffer, index_array->offset, index_array->index_type);
|
vkCmdBindIndexBuffer(dl->command_buffer, index_array->buffer, 0, index_array->index_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RenderingDeviceVulkan::draw_list_set_line_width(DrawListID p_list, float p_width) {
|
void RenderingDeviceVulkan::draw_list_set_line_width(DrawListID p_list, float p_width) {
|
||||||
|
|
Loading…
Reference in a new issue