mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Make viewStorage still valid after view removal. (#1564)
This commit is contained in:
1 parent
33f8284bc0
commit
5dd6f41ff4
1 file changed
+1
-1
@@ -259,7 +259,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
{
|
||||
_views.Remove(texture);
|
||||
|
||||
texture._viewStorage = null;
|
||||
texture._viewStorage = texture;
|
||||
|
||||
DeleteIfNotUsed();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user