From 34fc5a2441e1ca933ff7deb72b1d9c7f3d3737b3 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Sun, 25 Feb 2024 17:55:00 +0100 Subject: [PATCH] Workaround broken Intel Windows driver w.r.t. exclusive fullscreen. --- vulkan/wsi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vulkan/wsi.cpp b/vulkan/wsi.cpp index 627b5592..7bf3fd3e 100644 --- a/vulkan/wsi.cpp +++ b/vulkan/wsi.cpp @@ -1207,6 +1207,8 @@ static bool init_surface_info(Device &device, WSIPlatform &platform, LOGI("Win32: Not running full-screen.\n"); bool prefer_exclusive = Util::get_environment_bool("GRANITE_EXCLUSIVE_FULL_SCREEN", false) || low_latency_mode_enable; + if (ext.driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) + prefer_exclusive = false; // Broken on Intel Windows if (ext.driver_id == VK_DRIVER_ID_AMD_PROPRIETARY && format == BackbufferFormat::HDR10) {