Ver código fonte

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

riperiperi 5 anos atrás
pai
commit
5dd6f41ff4
1 arquivos alterados com 1 adições e 1 exclusões
  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();
         }