Force index buffer update for games using Vulkan (#2726)

This commit is contained in:
gdkchan 2021-10-12 18:46:42 -03:00 committed by GitHub
parent 7c1ded86f0
commit 6fa532213a
2 changed files with 10 additions and 0 deletions

View file

@ -312,6 +312,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
bool oldDrawIndexed = _drawState.DrawIndexed;
_drawState.DrawIndexed = true;
engine.ForceStateDirty(IndexBufferCountMethodOffset * 4);
DrawEnd(engine, firstIndex, indexCount);