layer: Log swapchain format
This commit is contained in:
parent
29d5f8d3f9
commit
a0222d4142
1 changed files with 4 additions and 2 deletions
|
@ -443,8 +443,10 @@ namespace GamescopeWSILayer {
|
|||
// Force the colorspace to sRGB before sending to the driver.
|
||||
swapchainInfo.imageColorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR;
|
||||
|
||||
fprintf(stderr, "[Gamescope WSI] Creating swapchain for wl_surface for xid: 0x%0x - colorspace: %s\n",
|
||||
gamescopeSurface->window, vkroots::helpers::enumString(pCreateInfo->imageColorSpace));
|
||||
fprintf(stderr, "[Gamescope WSI] Creating swapchain for xid: 0x%0x - format: %s - colorspace: %s\n",
|
||||
gamescopeSurface->window,
|
||||
vkroots::helpers::enumString(pCreateInfo->imageFormat),
|
||||
vkroots::helpers::enumString(pCreateInfo->imageColorSpace));
|
||||
}
|
||||
|
||||
VkResult result = pDispatch->CreateSwapchainKHR(device, &swapchainInfo, pAllocator, pSwapchain);
|
||||
|
|
Loading…
Reference in a new issue