mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 23:42:43 +00:00
imgui: Fix ambiguous overload
Fixes building on Linux with GCC fixes #845
This commit is contained in:
parent
e3c2a91477
commit
ffaa6542e0
@ -182,11 +182,12 @@ void Render(const vk::CommandBuffer& cmdbuf, ::Vulkan::Frame* frame) {
|
|||||||
.storeOp = vk::AttachmentStoreOp::eStore,
|
.storeOp = vk::AttachmentStoreOp::eStore,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
vk::RenderingInfo render_info = {};
|
vk::Rect2D renderArea = {
|
||||||
render_info.renderArea = {
|
|
||||||
.offset = {0, 0},
|
.offset = {0, 0},
|
||||||
.extent = {frame->width, frame->height},
|
.extent = {frame->width, frame->height},
|
||||||
};
|
};
|
||||||
|
vk::RenderingInfo render_info = {};
|
||||||
|
render_info.renderArea = renderArea;
|
||||||
render_info.layerCount = 1;
|
render_info.layerCount = 1;
|
||||||
render_info.colorAttachmentCount = 1;
|
render_info.colorAttachmentCount = 1;
|
||||||
render_info.pColorAttachments = color_attachments;
|
render_info.pColorAttachments = color_attachments;
|
||||||
|
Loading…
Reference in New Issue
Block a user