mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
AbstractTexture: Fix crash in Vulkan backend when freeing texture
This commit is contained in:
@ -83,6 +83,7 @@ DXTexture::DXTexture(const TextureConfig& tex_config) : AbstractTexture(tex_conf
|
||||
|
||||
DXTexture::~DXTexture()
|
||||
{
|
||||
g_renderer->UnbindTexture(this);
|
||||
m_texture->Release();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user