Selaa lähdekoodia

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

riperiperi 5 vuotta sitten
vanhempi
sitoutus
5dd6f41ff4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();
         }