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 a2c6cd5132
commit 464a92d8a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);