mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +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
|
@ -15,11 +15,6 @@ AbstractTexture::AbstractTexture(const TextureConfig& c) : m_config(c)
|
|||
{
|
||||
}
|
||||
|
||||
AbstractTexture::~AbstractTexture()
|
||||
{
|
||||
g_renderer->UnbindTexture(this);
|
||||
}
|
||||
|
||||
bool AbstractTexture::Save(const std::string& filename, unsigned int level)
|
||||
{
|
||||
// We can't dump compressed textures currently (it would mean drawing them to a RGBA8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue