1
Graphics / Image::LoadFromFile crash
« on: August 05, 2009, 10:56:30 pm »
Hi there, I seem to have a problemw ith my application and I cant seem to work it out.
I have created a window and setup all of my openGL stuff before I come to load my image.
Then these 2 lines are executed:
sf::Image newImage;
newImage.LoadFromFile ( "particles.png" );
There is a load of garbled output to the console and then the program hangs, when I pause into the degbugger the location is still somewhere within the LoadFromFile function.
Is there likely to be some setting in the application properties?
I am using VS2008. I can run the OpenGL sample program which works without a problem.
Many thanks,
James Mintram
I have created a window and setup all of my openGL stuff before I come to load my image.
Then these 2 lines are executed:
sf::Image newImage;
newImage.LoadFromFile ( "particles.png" );
There is a load of garbled output to the console and then the program hangs, when I pause into the degbugger the location is still somewhere within the LoadFromFile function.
Is there likely to be some setting in the application properties?
I am using VS2008. I can run the OpenGL sample program which works without a problem.
Many thanks,
James Mintram