1
General / Problem with change texture by function
« on: November 28, 2017, 06:40:22 pm »
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/AZkXVb8z
Why i can't change texture in other function? I'm using Visual Studio and SFML 2.4.1. Thanks for Help
My code:
https://pastebin.com/AZkXVb8z
Why i can't change texture in other function? I'm using Visual Studio and SFML 2.4.1. Thanks for Help