aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.Graphics.Gpu/Image/Texture.cs2
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();
}