1
General / Pure Virtual Function call
« on: October 12, 2010, 12:05:15 pm »
Anyone have any clue of what to do? Else, judging this post and my test:
Maybe I should not use sf::Image for images and use e.g. SOIL with OpenGL?
Because it works fine without sf::Image? Or does anyone have a better idea?
Quote from: "e_barroga"
I think it is a bug.
I got that error, too, just earlier.
Happened when I created an Image without doing anything with it:Code: [Select]
sf::Image imCursor;
imCursor.LoadFromFile(...);
Commenting it out relieves the issue.
Once I set a sprite to that image, then draw the sprite.... it also relieved the issue.
By the way, I was using VC++.
Maybe I should not use sf::Image for images and use e.g. SOIL with OpenGL?
Because it works fine without sf::Image? Or does anyone have a better idea?