Repository navigation
SDL: call SDL_PumpEvents from main thread - #17519
Conversation
|
Works fine on my end in Windows at least, will edit once I try on Linux. Edit: Works in Linux aswell but there's a little issue (if it can be called that as it's very minor): If you disconnect the controller while on Pads and Refresh, it won't get picked up again until you boot a game. This very same thing can sort of be reproduce while in-game, but upon pressing Save it picks the controller again. Edit2: Just tried in Windows and it doesn't happen there so it seems to be Linux-specific. |
|
forcing the execution of This solution has been confirmed as working also by all the users in the reported bug reports. |
|
SDL init and quit are only supposed to be called once for the whole application, no matter how many threads you use, and Pumpevents is by documentation supposed to be run on the main thread. |
|
Yes, a safe solution. Maybe SDL will be improved to support this new technology called multi-threading. |
maybe fixes #17518
maybe fixes #17259
maybe fixes #17227
maybe fixes #16348
maybe fixes #15947
maybe fixes #15715