mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2025-12-20 03:20:09 +01:00
Merge 'Fix queue destroy warning on the Wayland backend' into 'main'
See merge request mesa/vulkan-wsi-layer!217
This commit is contained in:
commit
bb18f7d897
1 changed files with 5 additions and 0 deletions
|
|
@ -97,6 +97,11 @@ swapchain::~swapchain()
|
|||
|
||||
if (m_buffer_queue != nullptr)
|
||||
{
|
||||
for (auto &img : m_swapchain_images)
|
||||
{
|
||||
img.set_data(util::unique_ptr<swapchain_image_data>());
|
||||
}
|
||||
|
||||
wl_display_roundtrip_queue(m_display, m_buffer_queue);
|
||||
wl_event_queue_destroy(m_buffer_queue);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue