under linux, my application refreshes the window content correctly during resize.
however, under mac OS, the same app will just stretch the texture during resizing, the refresh only when resizing is done. How to continuously update the window in mac OS? I suspect some events are blocked
I don’t own a Mac, so I apologize for guessing:
You might try checking for SDL_WINDOWEVENT_SIZE_CHANGED if you aren’t already. It can activate for different reasons than SDL_WINDOWEVENT_RESIZED does. → https://wiki.libsdl.org/SDL2/SDL_WindowEventID
If that doesn’t fix the issue, please post code so we can help further.
Also what version of the library are you using? ->(In a console call “sdl2-config --version”)
I do check these. In fact, my event loop does not receive any event at all between the moment the user presses the corner of the window for resizing, and the moment they release it.