1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-14 04:29:15 +01:00

[dxvk] Set color space for swap chain back buffers

This commit is contained in:
Philip Rebohle 2025-01-13 00:01:24 +01:00 committed by Philip Rebohle
parent 84317f913a
commit ed3c02906c

View File

@ -508,6 +508,7 @@ namespace dxvk {
imageInfo.usage = swapInfo.imageUsage;
imageInfo.tiling = VK_IMAGE_TILING_OPTIMAL;
imageInfo.layout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR;
imageInfo.colorSpace = swapInfo.imageColorSpace;
imageInfo.shared = VK_TRUE;
imageInfo.debugName = debugName.c_str();