diff --git a/src/platform/windows/display_base.cpp b/src/platform/windows/display_base.cpp index 46ae4cb47f7..2b1b749295d 100644 --- a/src/platform/windows/display_base.cpp +++ b/src/platform/windows/display_base.cpp @@ -439,11 +439,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; }