Skip to content

Commit

Permalink
rendervulkan: Add log for nested swapchain created
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Oct 18, 2023
1 parent 171a649 commit 62e2d45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rendervulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2802,6 +2802,8 @@ bool vulkan_make_swapchain( VulkanOutput_t *pOutput )
.pViewFormats = formats,
};

vk_log.infof("Creating Gamescope nested swapchain with format %u and colorspace %u", pOutput->outputFormat, pOutput->surfaceFormats[surfaceFormat].colorSpace);

VkSwapchainCreateInfoKHR createInfo = {
.sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR,
.pNext = formats[0] != formats[1] ? &usageListInfo : nullptr,
Expand Down

0 comments on commit 62e2d45

Please sign in to comment.