Вулкан: vkGetPhysicalDeviceSurfaceCapabilitiesKHR возвращает VK_ERROR_SURFACE_LOST_KHR в C
#c #instance #vulkan #surface Вопрос: У меня есть эта функция: static cyBool swapchainSuitable(VkPhysicalDevice device, VkSurfaceKHR surface){ //Capabilities VkSurfaceCapabilitiesKHR capabilities; VkResult result = vkGetPhysicalDeviceSurfaceCapabilitiesKHR(device, surface, amp;capabilities); if (result != VK_SUCCESS){ CY_LOG_FATAL("Unable…