I believe this happens because we request a new frame on every resize event, whereas we probably don't want to request a new one until the last one finished. To fix this we'll probably want to have some kind of communication between the main loop and the renderer; Currently only the window is notified when a frame has finished, so we'll need to make that information more widely available.
I believe this happens because we request a new frame on every resize event, whereas we probably don't want to request a new one until the last one finished. To fix this we'll probably want to have some kind of communication between the main loop and the renderer; Currently only the window is notified when a frame has finished, so we'll need to make that information more widely available.