diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-11-23 23:24:03 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 16d88c21fc98cd7302811e142a39d590370e182e (patch) | |
| tree | e2c1a457666a11427ca3a26d701720bfe508e0e3 /Ryujinx.Graphics.Gpu/Image/Texture.cs | |
| parent | b2b2e046696e9c187cd9d7d4e3e92dc521082fe5 (diff) | |
Improved and simplified window texture presentation
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index 28ad3f77..120abe3f 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -335,18 +335,6 @@ namespace Ryujinx.Graphics.Gpu.Image return true; } - if (_info.FormatInfo.Format == Format.R8G8B8A8Srgb && - info.FormatInfo.Format == Format.R8G8B8A8Unorm && !strict) - { - return true; - } - - if (_info.FormatInfo.Format == Format.R8G8B8A8Unorm && - info.FormatInfo.Format == Format.R8G8B8A8Srgb && !strict) - { - return true; - } - return _info.FormatInfo.Format == info.FormatInfo.Format; } |
