Launcher: switch the game to DirectX 12 after a Vulkan crash at its start (#746)
A native crash in a graphics driver leaves no crash report, only the game's last lines. When the game ends with no report after its Vulkan adapter line and before its first frame (Windows only), set graphicsApi:dx12 in its graphics settings (the game home's and the run's own, only where it was auto) and tell the player to press Play again, instead of the crash notice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,7 @@ pub fn process_started() -> Instant {
|
||||
|
||||
/// Frames further apart than this are the UI resting, not UI frame times.
|
||||
const IDLE_GAP: Duration = Duration::from_millis(250);
|
||||
/// The line the game prints when it has drawn its first frame.
|
||||
pub const GAME_FIRST_FRAME: &str = "Horizon: first frame";
|
||||
pub use horizon_launcher::backend::GAME_FIRST_FRAME;
|
||||
|
||||
pub struct Perf {
|
||||
report: Report,
|
||||
|
||||
Reference in New Issue
Block a user