Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Vulkan: Ensure Vulkan device is persistent
  • Loading branch information
mark-kendall committed May 17, 2020
1 parent e4d9172 commit 85192f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythui/vulkan/mythwindowvulkan.cpp
Expand Up @@ -11,6 +11,7 @@ MythWindowVulkan::MythWindowVulkan(MythRenderVulkan *Render)
// Most drivers/devices only seem to support these formats. Prefer UNORM.
QVector<VkFormat> formats = { VK_FORMAT_B8G8R8A8_UNORM, VK_FORMAT_B8G8R8A8_SRGB };
setPreferredColorFormats(formats);
setFlags(QVulkanWindow::PersistentResources);
}

MythWindowVulkan::~MythWindowVulkan()
Expand Down

0 comments on commit 85192f6

Please sign in to comment.