Skip to content

Commit 34fc5a2

Browse files
committed
Workaround broken Intel Windows driver w.r.t. exclusive fullscreen.
1 parent 9d25045 commit 34fc5a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vulkan/wsi.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,8 @@ static bool init_surface_info(Device &device, WSIPlatform &platform,
12071207
LOGI("Win32: Not running full-screen.\n");
12081208

12091209
bool prefer_exclusive = Util::get_environment_bool("GRANITE_EXCLUSIVE_FULL_SCREEN", false) || low_latency_mode_enable;
1210+
if (ext.driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS)
1211+
prefer_exclusive = false; // Broken on Intel Windows
12101212

12111213
if (ext.driver_id == VK_DRIVER_ID_AMD_PROPRIETARY && format == BackbufferFormat::HDR10)
12121214
{

0 commit comments

Comments
 (0)