fix(display): fix logic to remember ddprobe already ran (#3293)
This commit is contained in:
parent
1d80d3946e
commit
5b435fd0c1
1 changed files with 2 additions and 0 deletions
|
|
@ -419,11 +419,13 @@ namespace platf::dxgi {
|
||||||
|
|
||||||
// Try probing with different GPU preferences and verify_frame_capture flag
|
// Try probing with different GPU preferences and verify_frame_capture flag
|
||||||
if (validate_and_test_gpu_preference(display_name, true)) {
|
if (validate_and_test_gpu_preference(display_name, true)) {
|
||||||
|
set_gpu_preference = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If no valid configuration was found, try again with verify_frame_capture == false
|
// If no valid configuration was found, try again with verify_frame_capture == false
|
||||||
if (validate_and_test_gpu_preference(display_name, false)) {
|
if (validate_and_test_gpu_preference(display_name, false)) {
|
||||||
|
set_gpu_preference = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue