mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-30 03:00:04 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -452,7 +452,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
|
||||
private static bool IsReadOnlyTexture(ResourceType resourceType)
|
||||
{
|
||||
return resourceType == ResourceType.TextureAndSampler || resourceType == ResourceType.BufferTexture;
|
||||
return resourceType is ResourceType.TextureAndSampler or ResourceType.BufferTexture;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user