mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 12:42:41 +01:00
Add missing virtual desctructors (#5094)
This commit is contained in:
parent
46812d46ba
commit
27474316fd
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -67,6 +67,7 @@ class GSFrameBase
|
||||
public:
|
||||
GSFrameBase() = default;
|
||||
GSFrameBase(const GSFrameBase&) = delete;
|
||||
virtual ~GSFrameBase() {}
|
||||
|
||||
virtual void close() = 0;
|
||||
virtual bool shown() = 0;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user