summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2018-01-26 11:19:13 +0100
committerGitHub <noreply@github.com>2018-01-26 11:19:13 +0100
commit8d16a40f86af1953468f67697ba22f4c2665a7ca (patch)
treef57bea30b0fe0b192a6e7dbb6234d15225ab0464 /Source/Core/VideoCommon/AbstractTexture.cpp
parent9a6644d06c964475c13222e41fe8677d4e705e10 (diff)
parent81ae88d2d50d9b655f617e61fbd003167e624fa8 (diff)
Merge pull request #6329 from stenzek/vulkan-crash
AbstractTexture: Fix crash in Vulkan backend when freeing texture
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.cpp5
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