mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-05-08 11:28:02 +02:00
VK_EXT_frame_boundary: Fixing the sType used in VkFrameBoundaryEXT
In this change, the sType used in VkFrameBoundaryEXT instance is fixed. Signed-off-by: Ginu Jacob <ginu.jacob@arm.com> Change-Id: Id1dab87b9b4144d6030c57dbe4e33a41e7045a9f
This commit is contained in:
parent
2f7e6e7ff3
commit
5a2bc13570
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ std::optional<VkFrameBoundaryEXT> wsi_ext_frame_boundary::handle_frame_boundary_
|
|||
std::optional<VkFrameBoundaryEXT> create_frame_boundary(const VkPresentInfoKHR &present_info)
|
||||
{
|
||||
auto *present_frame_boundary =
|
||||
util::find_extension<VkFrameBoundaryEXT>(VK_STRUCTURE_TYPE_PRESENT_ID_KHR, present_info.pNext);
|
||||
util::find_extension<VkFrameBoundaryEXT>(VK_STRUCTURE_TYPE_FRAME_BOUNDARY_EXT, present_info.pNext);
|
||||
|
||||
/* Extract the VkFrameBoundaryEXT structure to avoid passing other, unrelated structures to vkQueueSubmit */
|
||||
if (present_frame_boundary != nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue