Warn on failed surface creation for vulkan

Vulkan can technically work just fine without presenting to the user, so
consider these failed window procedures as "warnings" during iteration.
This commit is contained in:
Wunkolo 2023-07-18 22:38:08 -07:00
parent 444d50eaf5
commit c7a93c4f52
3 changed files with 9 additions and 4 deletions

View file

@ -8,6 +8,8 @@ class RendererVK final : public Renderer {
vk::PhysicalDevice physicalDevice = {};
vk::UniqueDevice device = {};
vk::UniqueSurfaceKHR surface = {};
vk::UniqueDebugUtilsMessengerEXT debugMessenger;
public: