diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2023-09-25 22:07:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-25 23:07:03 +0200 |
| commit | f6c3f1cdfdb9145634be3bfc54400f0d408f36dd (patch) | |
| tree | aa3de1c788717cd76f5990550dad0f3ab3d397bf /src/Ryujinx.Graphics.Gpu/Window.cs | |
| parent | 8026e1c804fae39561087f9e04bd5c4eefa640fa (diff) | |
GPU: Discard data when getting texture before full clear (#5719)
* GPU: Discard data when getting texture before full clear
* Fix rules and order of clear checks
* Fix formatting
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Window.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Window.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Window.cs b/src/Ryujinx.Graphics.Gpu/Window.cs index 1f94122d..3b236853 100644 --- a/src/Ryujinx.Graphics.Gpu/Window.cs +++ b/src/Ryujinx.Graphics.Gpu/Window.cs @@ -200,7 +200,7 @@ namespace Ryujinx.Graphics.Gpu { pt.AcquireCallback(_context, pt.UserObj); - Image.Texture texture = pt.Cache.FindOrCreateTexture(null, TextureSearchFlags.WithUpscale, pt.Info, 0, pt.Range); + Image.Texture texture = pt.Cache.FindOrCreateTexture(null, TextureSearchFlags.WithUpscale, pt.Info, 0, range: pt.Range); pt.Cache.Tick(); |
