mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-16 04:37:02 +00:00
misc: chore: Fix object creation
This commit is contained in:
parent
0928851966
commit
9cdd9f6dbf
48 changed files with 315 additions and 316 deletions
|
|
@ -991,7 +991,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
bool isImage,
|
||||
out bool isNew)
|
||||
{
|
||||
CacheEntryFromPoolKey key = new CacheEntryFromPoolKey(isImage, bindingInfo, texturePool, samplerPool);
|
||||
CacheEntryFromPoolKey key = new(isImage, bindingInfo, texturePool, samplerPool);
|
||||
|
||||
isNew = !_cacheFromPool.TryGetValue(key, out CacheEntry entry);
|
||||
|
||||
|
|
@ -1034,7 +1034,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
ref BufferBounds textureBufferBounds,
|
||||
out bool isNew)
|
||||
{
|
||||
CacheEntryFromBufferKey key = new CacheEntryFromBufferKey(
|
||||
CacheEntryFromBufferKey key = new(
|
||||
isImage,
|
||||
bindingInfo,
|
||||
texturePool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue