Merge pull request #9943 from vonchenplus/gentleman

video_core: Fix inline_index and draw_texture error
This commit is contained in:
liamwhite
2023-03-13 13:45:17 -04:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@ -164,6 +164,7 @@ void DrawManager::DrawEnd(u32 instance_count, bool force_draw) {
draw_state.index_buffer.count =
static_cast<u32>(draw_state.inline_index_draw_indexes.size() / 4);
draw_state.index_buffer.format = Maxwell3D::Regs::IndexFormat::UnsignedInt;
maxwell3d->dirty.flags[VideoCommon::Dirty::IndexBuffer] = true;
ProcessDraw(true, instance_count);
draw_state.inline_index_draw_indexes.clear();
break;