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;
|
_upscaledTexture = null;
|
||||||
break;
|
break;
|
||||||
case ScalingFilter.Fsr:
|
case ScalingFilter.Fsr:
|
||||||
if (_scalingFilter is not FsrScalingFilter)
|
if (_scalingFilter is null)
|
||||||
{
|
{
|
||||||
_scalingFilter?.Dispose();
|
_scalingFilter?.Dispose();
|
||||||
_scalingFilter = new FsrScalingFilter(_renderer);
|
_scalingFilter = new FsrScalingFilter(_renderer);
|
||||||
|
|
|
@ -560,7 +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 not FsrScalingFilter)
|
if (_scalingFilter is null)
|
||||||
{
|
{
|
||||||
_scalingFilter?.Dispose();
|
_scalingFilter?.Dispose();
|
||||||
_scalingFilter = new FsrScalingFilter(_gd, _device);
|
_scalingFilter = new FsrScalingFilter(_gd, _device);
|
||||||
|
|
Loading…
Reference in a new issue