mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-25 18:13:04 +00:00
Update Window.cs
This commit is contained in:
parent
00ceab2c91
commit
6a02d6688b
1 changed files with 1 additions and 6 deletions
|
@ -560,12 +560,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
_isLinear = _currentScalingFilter == ScalingFilter.Bilinear;
|
_isLinear = _currentScalingFilter == ScalingFilter.Bilinear;
|
||||||
break;
|
break;
|
||||||
case ScalingFilter.Fsr:
|
case ScalingFilter.Fsr:
|
||||||
if (_scalingFilter is null)
|
_scalingFilter ??= new FsrScalingFilter(_gd, _device);
|
||||||
{
|
|
||||||
_scalingFilter?.Dispose();
|
|
||||||
_scalingFilter = new FsrScalingFilter(_gd, _device);
|
|
||||||
}
|
|
||||||
|
|
||||||
_scalingFilter.Level = _scalingFilterLevel;
|
_scalingFilter.Level = _scalingFilterLevel;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue