mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-22 23:55:47 +00:00
Don’t bind byte format converted index buffers at requested index
This commit is contained in:
parent
242fcc2481
commit
b33c1ae22f
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
if (type == GAL.IndexType.UByte)
|
||||
{
|
||||
_currentState.IndexType = MTLIndexType.UInt16;
|
||||
_currentState.IndexBufferOffset = (ulong)buffer.Offset;
|
||||
_currentState.IndexBufferOffset = 0;
|
||||
_currentState.IndexBuffer = _bufferManager.GetBufferI8ToI16(_pipeline.Cbs, buffer.Handle, buffer.Offset, buffer.Size);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue