SFML community forums

Help => Graphics => Topic started by: nathanmyersc on May 06, 2020, 10:53:59 pm

Title: Random Lag Spikes.
Post by: nathanmyersc on May 06, 2020, 10:53:59 pm
Hi i read of one thread written in 2013 about this issue. My program has a strange issue that seems to be one thats been common, I am updating my games logic at least 400 times a second. And it is updating the drawing 400 times per second.
But for some reason once about every 30 seconds or so it dips to 350 fps for a second and there is a noticable skip as it takes 100 miliseconds to get through the window display call. This happens even if i comment out every draw call and just call display.