diff options
author | riperiperi <rhy3756547@hotmail.com> | 2020-09-21 20:51:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 16:51:33 -0300 |
commit | 5dd6f41ff456c2d9a72d9e6d88c4be851bac1f96 (patch) | |
tree | 1d07e75de064ae466db4cc966e9f122389a17157 /Ryujinx.Graphics.Gpu/Image/Texture.cs | |
parent | 33f8284bc0f80b18bdce6f8e9a363f5b70388788 (diff) |
Make viewStorage still valid after view removal. (#1564)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index fe129f52..fa3bd242 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -259,7 +259,7 @@ namespace Ryujinx.Graphics.Gpu.Image { _views.Remove(texture); - texture._viewStorage = null; + texture._viewStorage = texture; DeleteIfNotUsed(); } |