Hi folks,
Just fired up SFML2 again and I'm suddenly getting a hard crash when trying to load a texture from a file?
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML Window");
sf::Texture t;
if(!t.loadFromFile("Sheet.png")) // Access violation - CRASH!
return EXIT_FAILURE;
Am I missing something here? Wondering if it has something to do with the libs.
I'm on Windows 7 64bit with VS2010 running in Debug. I'm using the pre-built SFML2 RC off the download page, linking against sfml-*.lib and setting my working dir to ../SFML2/bin.
Anything obvious I'm missing?
Edit: I've also noticed the title of my RenderWindow is junk - not what I've set it too. Is it not initializing correctly for some reason?