swapchain logging

This commit is contained in:
2026-08-26 11:43:08 -07:00
parent 027efebd48
commit 341b5cc91b
+4
View File
@@ -9,6 +9,8 @@ namespace sophia {
Swapchain::Swapchain(Device& device, vk::Extent2D extent)
: device{device}, extent{extent} {
initialize();
log::trace("created swapchain");
}
Swapchain::Swapchain(Device& device, vk::Extent2D extent,
@@ -16,6 +18,8 @@ Swapchain::Swapchain(Device& device, vk::Extent2D extent,
: device{device}, extent{extent}, oldSwapchain{previous} {
initialize();
this->oldSwapchain = nullptr;
log::trace("created swapchain (from previous)");
}
Swapchain::~Swapchain() {