Sfml formula: sfml 2.1 -> 2.2