fix(display): fix logic to remember ddprobe already ran (#3293)

This commit is contained in:
Cameron Gutman
2024-10-13 18:04:52 -05:00
committed by GitHub
parent 1d80d3946e
commit 5b435fd0c1

View File

@@ -419,11 +419,13 @@ namespace platf::dxgi {
// Try probing with different GPU preferences and verify_frame_capture flag
if (validate_and_test_gpu_preference(display_name, true)) {
set_gpu_preference = true;
return true;
}
// If no valid configuration was found, try again with verify_frame_capture == false
if (validate_and_test_gpu_preference(display_name, false)) {
set_gpu_preference = true;
return true;
}