Skip to content

Commit

Permalink
Workaround broken Intel Windows driver w.r.t. exclusive fullscreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Feb 25, 2024
1 parent 9d25045 commit 34fc5a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vulkan/wsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 34fc5a2

Please sign in to comment.