Use VK_NULL_HANDLE instead of nullptr to initialize VkSurfaceKHR field

Fixes #1367
This commit is contained in:
Cameron Gutman 2024-07-24 20:38:36 -05:00
parent 7f009a4b8e
commit 9e92c07cb7

View File

@ -55,7 +55,7 @@ private:
// The libplacebo rendering state
pl_log m_Log = nullptr;
pl_vk_inst m_PlVkInstance = nullptr;
VkSurfaceKHR m_VkSurface = nullptr;
VkSurfaceKHR m_VkSurface = VK_NULL_HANDLE;
pl_vulkan m_Vulkan = nullptr;
pl_swapchain m_Swapchain = nullptr;
pl_renderer m_Renderer = nullptr;