Mkay, so, interesting problem here.
sf::Image LoadScreenImage;
std::string test = "res\\title.png";
if(!LoadScreenImage.LoadFromFile(test));
FAILED_TO_GET_RESOURCE
Results in the program not being able to load the image and going down.
sf::Image LoadScreenImage;
if(!LoadScreenImage.LoadFromFile("res\\title.png"));
FAILED_TO_GET_RESOURCE
On the other hand, works fine. It says right in the documentation that it wants a std::string, but when I pass it one versus manually typing it in, it doesn't work.
How to fix?