1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-17 15:26:39 +00:00

Update Window.cs

This commit is contained in:
Marco Carvalho 2024-04-07 20:26:05 -03:00
parent 00ceab2c91
commit 6a02d6688b

View file

@ -560,12 +560,7 @@ namespace Ryujinx.Graphics.Vulkan
_isLinear = _currentScalingFilter == ScalingFilter.Bilinear;
break;
case ScalingFilter.Fsr:
if (_scalingFilter is null)
{
_scalingFilter?.Dispose();
_scalingFilter = new FsrScalingFilter(_gd, _device);
}
_scalingFilter ??= new FsrScalingFilter(_gd, _device);
_scalingFilter.Level = _scalingFilterLevel;
break;
}