Make viewStorage still valid after view removal. (#1564)
This commit is contained in:
parent
04e1b02023
commit
38a5cf2bdc
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
{
|
||||
_views.Remove(texture);
|
||||
|
||||
texture._viewStorage = null;
|
||||
texture._viewStorage = texture;
|
||||
|
||||
DeleteIfNotUsed();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue