mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Set platform in surface description correctly
This commit is contained in:
1 parent
73ef2a883e
commit
80838eb216
1 file changed
+2
-1
@@ -108,8 +108,9 @@ void VulkanReplay::OutputWindow::MakeTargets(const VulkanFunctions &vk, VkDevice
|
||||
#error "unknown platform"
|
||||
#endif
|
||||
|
||||
VkSurfaceDescriptionWindowWSI surfDesc = { VK_STRUCTURE_TYPE_SURFACE_DESCRIPTION_WINDOW_WSI, NULL, VK_PLATFORM_X11_WSI, handleptr, &wnd };
|
||||
VkSurfaceDescriptionWindowWSI surfDesc = { VK_STRUCTURE_TYPE_SURFACE_DESCRIPTION_WINDOW_WSI, NULL, platform, handleptr, &wnd };
|
||||
|
||||
// VKTODOHIGH need to verify which present modes are present
|
||||
VkSwapChainCreateInfoWSI swapInfo = {
|
||||
VK_STRUCTURE_TYPE_SWAP_CHAIN_CREATE_INFO_WSI, NULL, (VkSurfaceDescriptionWSI *)&surfDesc,
|
||||
2, VK_FORMAT_B8G8R8A8_UNORM, { width, height }, 0,
|
||||
|
||||
Reference in new issue
Block a user