mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
A start ended before its first frame leaves its adapter recorded as crashed in graphics-start.json, and the next start leaves that adapter out. A start ended from outside (a --control session terminated early) looks the same as a crash in the driver, so on a machine with one GPU, such as an Apple Silicon Mac, the next start had no adapter left and failed with "no graphics adapter can show the window". The selector now tries the adapters that crashed an earlier start again, with a warning in the log, when leaving them out would leave none. Adapters a restart left out after they failed in this run of the app stay left out, and with another adapter to try, the one that crashed is still left out. Fixes #9183