1
Graphics / Re: how to set background.
« on: April 23, 2017, 07:12:44 pm »
It may be better to put an if statement around the load from file.
if(!texture.loadFromFile("background.png")) { // error: handle didn't load }
if(!texture.loadFromFile("background.png")) { // error: handle didn't load }