From 81ae88d2d50d9b655f617e61fbd003167e624fa8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 26 Jan 2018 18:32:33 +1000 Subject: AbstractTexture: Fix crash in Vulkan backend when freeing texture --- Source/Core/VideoCommon/AbstractTexture.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp') 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 -- cgit v1.2.3