I am creating a desktop app in OpenFl the problem I am facing is that if I resize the window the Resize event is not called until I let go the mouse button. so what i am trying to do is draw the screen according to window size when it resize even if user keep the mouse button pressed. so is there any way to achieve that?
This is a known issue with SDL on Windows… on macOS and I believe Linux it will visually resize as you go. There are some attempted workarounds we have done but ultimately the issue is that the renderer thread is frozen while resizing on Windows so even when we get the resize events we run the risk of a race condition and a crash by trying to render from the wrong thread