I look at the guide on how to work with SFML and there it is clearly visible that it transfers the image file to a texture object. I get the following error: “There is no suitable user-defined conversion from “sf::image” to “const std::string””
New contributor
Xan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.