misc: chore: Fix object creation in Metal

This commit is contained in:
Evan Husted
2025-01-26 15:26:11 -06:00
parent e859bd5aa2
commit d95f724d17
15 changed files with 28 additions and 28 deletions

View File

@@ -302,7 +302,7 @@ namespace Ryujinx.Graphics.Metal
return null;
}
I8ToI16CacheKey key = new I8ToI16CacheKey(_renderer);
I8ToI16CacheKey key = new(_renderer);
if (!_cachedConvertedBuffers.TryGetValue(offset, size, key, out BufferHolder holder))
{
@@ -325,7 +325,7 @@ namespace Ryujinx.Graphics.Metal
return null;
}
TopologyConversionCacheKey key = new TopologyConversionCacheKey(_renderer, pattern, indexSize);
TopologyConversionCacheKey key = new(_renderer, pattern, indexSize);
if (!_cachedConvertedBuffers.TryGetValue(offset, size, key, out BufferHolder holder))
{