video_core: Replace VKSwapchain with Swapchain

This commit is contained in:
german77
2022-06-25 23:50:04 -05:00
parent a5e419535f
commit b5d6194f6d
5 changed files with 23 additions and 25 deletions

View File

@@ -17,11 +17,11 @@ namespace Vulkan {
class Device;
class Scheduler;
class VKSwapchain {
class Swapchain {
public:
explicit VKSwapchain(VkSurfaceKHR surface, const Device& device, Scheduler& scheduler,
u32 width, u32 height, bool srgb);
~VKSwapchain();
explicit Swapchain(VkSurfaceKHR surface, const Device& device, Scheduler& scheduler, u32 width,
u32 height, bool srgb);
~Swapchain();
/// Creates (or recreates) the swapchain with a given size.
void Create(u32 width, u32 height, bool srgb);