Render operations take too long

For a full discussion see:

When doing render operations and immediately presenting the render the framebuffer has not been updated yet. ((I am kind of a noob concerning the low-level sdl so take it with a grain of salt))
This behavior per se is ok but not mentioned in the documentation. However before suggesting change I wanted to ask here is this might be an error.

I can confirm that this happens. It only happens when changing the window in some way. So if you put a delay of ~50ms after the window size change, it should work properly again. I can post my test code if anyone is interested in it.