1
Graphics / setTexture not working for sf::RectangleShape
« on: December 05, 2019, 06:41:20 pm »
I tried to set a texture to a rectangle shape, so I needed an sf::Texture and obviously an sf::RectangleShape. But after I set the texture via rectangle.setTexture(&texture) and ran the code, I saw nothing. I was doing everything like was written in the doc. Help me to find my mistake, please...