mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-04 19:41:51 -05:00
d6b5e477e0
On a machine whose GPU has no Direct3D 12 driver, Direct3D 12 offers only its software adapter (WARP), which draws on the processor. Since #2264 FigCraft started on Direct3D 12 alone, so these machines drew every frame on the CPU: all cores busy and the app lagging (#2774). A window that opens on WARP now starts the app again with OpenGL offered beside Direct3D 12, as 0.18.0 did, so the GPU's OpenGL driver draws. Machines with a Direct3D 12 GPU start as before.