mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-23 21:44:56 +03:00
Don’t bind byte format converted index buffers at requested index
This commit is contained in:
parent
de8e03c350
commit
3b2beda27f
@ -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 New Issue
Block a user