From 16f103ab42c6faca0cb2c4ce6e93546d22feb1a4 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 1 Oct 2019 01:10:08 +1000 Subject: Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive --- Source/Core/VideoBackends/Vulkan/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoBackends/Vulkan/main.cpp') 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(); -- cgit v1.2.3