Вынес работу с VpPhysicalDevice в отдельный класс

This commit is contained in:
Jiga228
2026-06-23 18:35:48 +07:00
parent 70956e2032
commit 3cbe642fca
6 changed files with 233 additions and 193 deletions
@@ -84,6 +84,7 @@ namespace VkObjects
destroyer_messenger(instance_, debug_messenger_, nullptr);
}
#endif
vkDestroyInstance(instance_, nullptr);
if(instance_ != nullptr)
vkDestroyInstance(instance_, nullptr);
}
}