Hello
I have problem with change RectangleShape texture. When i add code to main function, rectangle have my texture. But when i try do it by other function, RectangleShape always no have texture?
My code:
https://pastebin.com/AZkXVb8zWhy i can't change texture in other function? I'm using Visual Studio and SFML 2.4.1. Thanks for Help