mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-16 13:37:03 +00:00
misc: chore: Merge into pattern
This commit is contained in:
parent
a6f3f0718d
commit
48ba1cc9ed
161 changed files with 470 additions and 550 deletions
|
|
@ -77,7 +77,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
mipLodBias,
|
||||
Math.Min(maxRequestedAnisotropy, maxSupportedAnisotropy)));
|
||||
|
||||
if (GraphicsConfig.MaxAnisotropy >= 0 && GraphicsConfig.MaxAnisotropy <= 16 && (minFilter == MinFilter.LinearMipmapNearest || minFilter == MinFilter.LinearMipmapLinear))
|
||||
if (GraphicsConfig.MaxAnisotropy >= 0 && GraphicsConfig.MaxAnisotropy <= 16 && minFilter is MinFilter.LinearMipmapNearest or MinFilter.LinearMipmapLinear)
|
||||
{
|
||||
maxRequestedAnisotropy = GraphicsConfig.MaxAnisotropy;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue