mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 19:45:13 +00:00
Make viewStorage still valid after view removal. (#1564)
This commit is contained in:
parent
33f8284bc0
commit
5dd6f41ff4
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…
Reference in a new issue