1
0
forked from MeloNX/MeloNX

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

This commit is contained in:
riperiperi 2020-09-21 20:51:33 +01:00 committed by GitHub
parent b71737ab21
commit 6a6758f02a

View File

@ -259,7 +259,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
_views.Remove(texture);
texture._viewStorage = null;
texture._viewStorage = texture;
DeleteIfNotUsed();
}