When you select the window, hold it and drag it around, the application freezes. This is fine except for data which uses sf::Clock or GetFrameTime().
I have a background which moves stars across the screen using GetFrameTime(). Once they go off screen, The main loop moves them back to the starting side.
Looks like this normally.However if you freeze the window, the timer still increases which results in them all instantly moving off screen and this ruins the background.
After freezing the window.Is there anyway I can pause sf::Clock before freezing the application and then unpause upon unfreezing? or any other way around this? do I need to use threads?
SFML-2.0-512a7c6
Windows 7 64b
ATI Radeon HD 4850