Current implementation will force a pause on resizing or moving a window on Windows. This pause is modal: it will block all activity in main thread, including all polling inside update (which can result in as severe consequences as disconnection of multiplayer games!).
The solution
The solution was long-and-length discussed in 8-years-spanning thread at SDL repo (!) and finally met final, safe solution in this SDL 2.30 PR at 2023, November.
This is a port of that solution into miniquad. It will only affect Windows platform.
The problem
Current implementation will force a pause on resizing or moving a window on Windows. This pause is modal: it will block all activity in main thread, including all polling inside update (which can result in as severe consequences as disconnection of multiplayer games!).
The solution
The solution was long-and-length discussed in 8-years-spanning thread at SDL repo (!) and finally met final, safe solution in this SDL 2.30 PR at 2023, November.
This is a port of that solution into miniquad. It will only affect Windows platform.