randomPoison / text-edit

1 stars 0 forks source link

Visual lag when resizing the window #1

Open randomPoison opened 7 years ago

randomPoison commented 7 years ago

resize_lag

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.