summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFengChen <vonchenplus@gmail.com>2023-03-12 06:21:26 +0100
committerFengChen <vonchenplus@gmail.com>2023-03-12 06:21:26 +0100
commit4e42ba54e53c0a2ddd118e2e737feec12614c7f3 (patch)
treed2c3ec87833248626c3cb913a167dd12d32c5e88 /src/video_core
parentMerge pull request #9916 from liamwhite/fpu (diff)
downloadyuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.tar
yuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.tar.gz
yuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.tar.bz2
yuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.tar.lz
yuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.tar.xz
yuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.tar.zst
yuzu-4e42ba54e53c0a2ddd118e2e737feec12614c7f3.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/draw_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/engines/draw_manager.cpp b/src/video_core/engines/draw_manager.cpp
index 1d22d25f1..0e94c521a 100644
--- a/src/video_core/engines/draw_manager.cpp
+++ b/src/video_core/engines/draw_manager.cpp
@@ -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;