SFML community forums

Help => General => Topic started by: Geheim on October 08, 2014, 01:54:46 pm

Title: Curious about a bugfix
Post by: Geheim on October 08, 2014, 01:54:46 pm
Hello,
Today I went through some old projects and I noticed a bug I had back in SFML 1.6 / 2.0. It is a pretty strange one and it seems that only my PC had/has it. However now (with 2.1 projects) it is gone, thats why I forgot about it, but I am curious what the cause was:

When having almost no programs open and then starting an old project, it had 30 frames, although I used setFrametimeLimit(60), however as soon as I started google chrome it went up to 60. Also it went back to 30 again when closing google chrome.

Back then it was pretty annoying and I couldn't explain it, neither can I now (it still happens with the old projects), so maybe you know what the cause was and what changed with SFML 2.1 that could have fixed that.
Thanks :)
Title: Re: Curious about a bugfix
Post by: binary1248 on October 08, 2014, 02:05:21 pm
https://github.com/SFML/SFML/commit/593123685851c6a1983d3e378e055e9c1a96b339
Title: Re: Curious about a bugfix
Post by: Geheim on October 08, 2014, 04:37:33 pm
Alright this makes sence to me, thank you!