imgui: Fix ambiguous overload

Fixes building on Linux with GCC

fixes #845
This commit is contained in:
Lander Gallastegi 2024-09-09 01:04:26 +02:00
parent e3c2a91477
commit ffaa6542e0

View File

@ -182,11 +182,12 @@ void Render(const vk::CommandBuffer& cmdbuf, ::Vulkan::Frame* frame) {
.storeOp = vk::AttachmentStoreOp::eStore,
},
};
vk::RenderingInfo render_info = {};
render_info.renderArea = {
vk::Rect2D renderArea = {
.offset = {0, 0},
.extent = {frame->width, frame->height},
};
vk::RenderingInfo render_info = {};
render_info.renderArea = renderArea;
render_info.layerCount = 1;
render_info.colorAttachmentCount = 1;
render_info.pColorAttachments = color_attachments;