Update Window.cs

This commit is contained in:
Marco Carvalho 2024-04-07 20:26:02 -03:00
parent 1947fd94da
commit 00ceab2c91

View file

@ -365,11 +365,7 @@ namespace Ryujinx.Graphics.OpenGL
_upscaledTexture = null;
break;
case ScalingFilter.Fsr:
if (_scalingFilter is null)
{
_scalingFilter?.Dispose();
_scalingFilter = new FsrScalingFilter(_renderer);
}
_scalingFilter ??= new FsrScalingFilter(_renderer);
_isLinear = false;
_scalingFilter.Level = _scalingFilterLevel;