Browse Source

Make viewStorage still valid after view removal. (#1564)

riperiperi 5 năm trước cách đây
mục cha
commit
5dd6f41ff4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Ryujinx.Graphics.Gpu/Image/Texture.cs

+ 1 - 1
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();
         }