diff options
| author | Stenzek <stenzek@gmail.com> | 2018-01-26 18:32:33 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-01-26 19:12:11 +1000 |
| commit | 81ae88d2d50d9b655f617e61fbd003167e624fa8 (patch) | |
| tree | f57bea30b0fe0b192a6e7dbb6234d15225ab0464 /Source/Core/VideoCommon/AbstractTexture.cpp | |
| parent | 9a6644d06c964475c13222e41fe8677d4e705e10 (diff) | |
AbstractTexture: Fix crash in Vulkan backend when freeing texture
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AbstractTexture.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.cpp b/Source/Core/VideoCommon/AbstractTexture.cpp index c3df347e48..e4a42ad62b 100644 --- a/Source/Core/VideoCommon/AbstractTexture.cpp +++ b/Source/Core/VideoCommon/AbstractTexture.cpp @@ -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 |
