- fix shutdown crash and some minor adjustments
This commit is contained in:
parent
d86a56086c
commit
1430d9012e
4 changed files with 21 additions and 12 deletions
|
|
@ -49,7 +49,8 @@ VkHardwareTexture::VkHardwareTexture()
|
|||
VkHardwareTexture::~VkHardwareTexture()
|
||||
{
|
||||
if (Next) Next->Prev = Prev;
|
||||
if (!Prev) First = Next;
|
||||
if (Prev) Prev->Next = Next;
|
||||
else First = Next;
|
||||
}
|
||||
|
||||
void VkHardwareTexture::Reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue