fix: Correct logging calls in RecreateSwapchain and OnWindowResized for consistency

This commit is contained in:
2026-01-04 14:51:09 +00:00
parent 80d8866924
commit da0499a469

View File

@@ -114,7 +114,7 @@ void SwapchainService::CreateSwapchain(uint32_t width, uint32_t height) {
void SwapchainService::RecreateSwapchain(uint32_t width, uint32_t height) {
logger_->TraceFunction(__func__);
logger_->.Info("Recreating swapchain: " + std::to_string(width) + "x" + std::to_string(height));
logger_->Info("Recreating swapchain: " + std::to_string(width) + "x" + std::to_string(height));
deviceService_->WaitIdle();
CleanupSwapchainInternal();
@@ -332,7 +332,7 @@ VkExtent2D SwapchainService::ChooseExtent(const VkSurfaceCapabilitiesKHR& capabi
void SwapchainService::OnWindowResized(const events::Event& event) {
logger_->TraceFunction(__func__);
logger_->.Info("Window resized event received, swapchain recreation needed");
logger_->Info("Window resized event received, swapchain recreation needed");
}
} // namespace sdl3cpp::services::impl