mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-29 01:34:37 +01:00
Switching the input language on Windows (Alt+Shift or Win+Space to a Russian layout) or typing in it hung the app. A Windows start offered wgpu Direct3D 12 and OpenGL together, and wgpu's OpenGL backend makes a hidden window on a thread that handles no window messages as soon as its instance exists, even when Direct3D 12 draws. Windows hands the language change to every thread with a window, so the main window waited on that hidden one. The reporter confirmed WGPU_BACKEND=dx12 avoids it. A Windows start now offers Direct3D 12 alone. Vulkan and OpenGL stay as restarts after a failed start, each on its own, and OpenGL with lower limits is added last so the old lowered Direct3D 12 + OpenGL attempt's reach is kept. A GPU with no Direct3D 12 driver (Intel Haswell, which wgpu leaves out of Direct3D 12, and older GPUs) now draws on Direct3D 12's software adapter instead of its OpenGL driver. Not run on Windows; the attempt list is tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>