diff --git a/rpcs3/Emu/RSX/Common/TextureUtils.h b/rpcs3/Emu/RSX/Common/TextureUtils.h index 9714ec084b..0edd91a6ea 100644 --- a/rpcs3/Emu/RSX/Common/TextureUtils.h +++ b/rpcs3/Emu/RSX/Common/TextureUtils.h @@ -30,6 +30,7 @@ namespace rsx f32 scale_x = 1.f; f32 scale_y = 1.f; + virtual ~sampled_image_descriptor_base() {} virtual u32 encoded_component_map() const = 0; }; } diff --git a/rpcs3/Emu/RSX/GSRender.h b/rpcs3/Emu/RSX/GSRender.h index 1a0653a1da..f1d61cc7c2 100644 --- a/rpcs3/Emu/RSX/GSRender.h +++ b/rpcs3/Emu/RSX/GSRender.h @@ -67,6 +67,7 @@ class GSFrameBase public: GSFrameBase() = default; GSFrameBase(const GSFrameBase&) = delete; + virtual ~GSFrameBase() {} virtual void close() = 0; virtual bool shown() = 0; diff --git a/rpcs3/Emu/RSX/VK/VKHelpers.h b/rpcs3/Emu/RSX/VK/VKHelpers.h index 962636e895..0f5c93e0fe 100644 --- a/rpcs3/Emu/RSX/VK/VKHelpers.h +++ b/rpcs3/Emu/RSX/VK/VKHelpers.h @@ -194,8 +194,8 @@ namespace vk public: using mem_handle_t = void *; - mem_allocator_base(VkDevice dev, VkPhysicalDevice /*pdev*/) : m_device(dev) {}; - ~mem_allocator_base() {}; + mem_allocator_base(VkDevice dev, VkPhysicalDevice /*pdev*/) : m_device(dev) {} + virtual ~mem_allocator_base() {} virtual void destroy() = 0; @@ -1396,7 +1396,7 @@ public: m_surface_format = format; } - ~swapchain_base(){} + virtual ~swapchain_base() {} virtual void create(display_handle_t& handle) = 0; virtual void destroy(bool full = true) = 0;