1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-20 14:03:35 +01:00

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 33f8284bc0
commit 5dd6f41ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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