diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-10-31 23:42:38 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-31 23:42:38 +1000 |
| commit | c6841a027a1c34a35b94e436e909cfdbfbbdbfc7 (patch) | |
| tree | f09efa7bee413d3f2e03c0391c73ebfed93923de /Source/Core/VideoBackends/Vulkan/main.cpp | |
| parent | d3ee0a4535cb34b2d7c27219d43a82cb1094e7f6 (diff) | |
| parent | 16f103ab42c6faca0cb2c4ce6e93546d22feb1a4 (diff) | |
Merge pull request #8372 from stenzek/vulkan-exclusive-fullscreen
Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/main.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/main.cpp b/Source/Core/VideoBackends/Vulkan/main.cpp index bc7ae8c067..425bcbae79 100644 --- a/Source/Core/VideoBackends/Vulkan/main.cpp +++ b/Source/Core/VideoBackends/Vulkan/main.cpp @@ -186,6 +186,8 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) g_vulkan_context->GetDeviceFeatures()); VulkanContext::PopulateBackendInfoMultisampleModes( &g_Config, g_vulkan_context->GetPhysicalDevice(), g_vulkan_context->GetDeviceProperties()); + g_Config.backend_info.bSupportsExclusiveFullscreen = + enable_surface && g_vulkan_context->SupportsExclusiveFullscreen(wsi, surface); // With the backend information populated, we can now initialize videocommon. InitializeShared(); |
