fix
This commit is contained in:
parent
5313ad4ae1
commit
1947fd94da
2 changed files with 2 additions and 2 deletions
|
@ -365,7 +365,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
_upscaledTexture = null;
|
||||
break;
|
||||
case ScalingFilter.Fsr:
|
||||
if (_scalingFilter is not FsrScalingFilter)
|
||||
if (_scalingFilter is null)
|
||||
{
|
||||
_scalingFilter?.Dispose();
|
||||
_scalingFilter = new FsrScalingFilter(_renderer);
|
||||
|
|
|
@ -560,7 +560,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
_isLinear = _currentScalingFilter == ScalingFilter.Bilinear;
|
||||
break;
|
||||
case ScalingFilter.Fsr:
|
||||
if (_scalingFilter is not FsrScalingFilter)
|
||||
if (_scalingFilter is null)
|
||||
{
|
||||
_scalingFilter?.Dispose();
|
||||
_scalingFilter = new FsrScalingFilter(_gd, _device);
|
||||
|
|
Loading…
Reference in a new issue