mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
AbstractTexture: Fix crash in Vulkan backend when freeing texture
This commit is contained in:
parent
9a6644d06c
commit
81ae88d2d5
5 changed files with 4 additions and 7 deletions
|
@ -83,6 +83,7 @@ DXTexture::DXTexture(const TextureConfig& tex_config) : AbstractTexture(tex_conf
|
|||
|
||||
DXTexture::~DXTexture()
|
||||
{
|
||||
g_renderer->UnbindTexture(this);
|
||||
m_texture->Release();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue