Initialize command buffer allocationFix SDL_Vulkan_GetDrawableSize call

This commit is contained in:
Wunkolo 2023-07-22 17:11:06 -07:00
parent fa804ae4c7
commit 90a4c9cf8d
2 changed files with 28 additions and 3 deletions

View file

@ -30,6 +30,9 @@ class RendererVK final : public Renderer {
std::vector<vk::Image> swapchainImages = {};
std::vector<vk::UniqueImageView> swapchainImageViews = {};
vk::UniqueCommandPool commandPool = {};
vk::UniqueCommandBuffer presentCommandBuffer = {};
public:
RendererVK(GPU& gpu, const std::array<u32, regNum>& internalRegs);
~RendererVK() override;