mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
video_core: Invalid index_buffer flag when inline_index draw
This commit is contained in:
parent
ec4e2d1fab
commit
4e42ba54e5
@ -164,6 +164,7 @@ void DrawManager::DrawEnd(u32 instance_count, bool force_draw) {
|
|||||||
draw_state.index_buffer.count =
|
draw_state.index_buffer.count =
|
||||||
static_cast<u32>(draw_state.inline_index_draw_indexes.size() / 4);
|
static_cast<u32>(draw_state.inline_index_draw_indexes.size() / 4);
|
||||||
draw_state.index_buffer.format = Maxwell3D::Regs::IndexFormat::UnsignedInt;
|
draw_state.index_buffer.format = Maxwell3D::Regs::IndexFormat::UnsignedInt;
|
||||||
|
maxwell3d->dirty.flags[VideoCommon::Dirty::IndexBuffer] = true;
|
||||||
ProcessDraw(true, instance_count);
|
ProcessDraw(true, instance_count);
|
||||||
draw_state.inline_index_draw_indexes.clear();
|
draw_state.inline_index_draw_indexes.clear();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user