I’m new to SDL, and am experimenting with resizable windows. It seems that the SDL_VIDEORESIZE event is only triggered at the end of a resize. This results in undefined graphics appearing when a window is enlarged. Am I doing something wrong? is this a sortfall of the library or a bug? Whilst it may have a hit on performance, maybe having a seperate event triggered throughout the resize to allow the window to be redrawn would resolve the problem.
The code I’m using is the example code given for resizing in the SDL docs. I’m compiling with MSVC++ 6 on Windows XP SP2.
Thanks in advance for any help / advice anyone could provide.