Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added a strikethrough text style to sf::Text. Fixes issue #243. #682
Well I have two things, but I guess I wasn't quick enough... :D
Nope, if you look carefully it isn't the exact same code. Even if just the initial variable assignments change, such a function would require more parameters than necessary and make it less sensible to pull it out into a separate function. It is easier to read and understand like that, and the compiler optimizes where it thinks it is necessary anyway.