summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-13 18:45:17 +0100
committerGitHub <noreply@github.com>2023-03-13 18:45:17 +0100
commit638044820ddbeb00d33692eef69ce41bb6234c66 (patch)
tree71b4b63e46f07d3b3f1726eb0b90d1d97fb0c9dc /src/video_core/engines
parentMerge pull request #9936 from liamwhite/m_this (diff)
parentvideo_core: Fix ogl status error when draw_texture (diff)
downloadyuzu-638044820ddbeb00d33692eef69ce41bb6234c66.tar
yuzu-638044820ddbeb00d33692eef69ce41bb6234c66.tar.gz
yuzu-638044820ddbeb00d33692eef69ce41bb6234c66.tar.bz2
yuzu-638044820ddbeb00d33692eef69ce41bb6234c66.tar.lz
yuzu-638044820ddbeb00d33692eef69ce41bb6234c66.tar.xz
yuzu-638044820ddbeb00d33692eef69ce41bb6234c66.tar.zst
yuzu-638044820ddbeb00d33692eef69ce41bb6234c66.zip
Diffstat (limited to 'src/video_core/engines')
-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;