Does SDL have a way of catching windows resize events outside of polling? Does SDL have call backs or interrupts for windows resize events?
Not specific for resize events, but SDL_AddEventWatch - SDL Wiki allows you to define a callback that is called on any events, maybe this is enough for what you want to do.
Thanks for the pointer. Also for anyone reading this thread, here’s an example: https://www.reddit.com/r/SDL2/comments/lg24nf/sdl_addeventwatch/