Commit 5669743a435f8fe9ea43e5f6b49601ba9dabe2ae

Sam Lantinga 2022-05-19T09:45:57

Make sure SDL_CaptureMouse() is only called on the main thread Windows handles mouse capture on a per-thread basis, and capture must be done on the thread used to create a window. Fixes https://github.com/libsdl-org/SDL/issues/5577