diff --git a/src/Ryujinx.Graphics.OpenGL/Window.cs b/src/Ryujinx.Graphics.OpenGL/Window.cs index ed8bf4d7a..9b61cc694 100644 --- a/src/Ryujinx.Graphics.OpenGL/Window.cs +++ b/src/Ryujinx.Graphics.OpenGL/Window.cs @@ -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;