1
Graphics / Failed to create image
« on: January 19, 2011, 10:40:52 am »
Thank you Laurent, I just figured myself out what was wrong. I've been loading the image in a class destructor. :roll:
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
/* Loading image. */
sf::Image imgGame;
imgGame.LoadFromFile("buttonGame.png");
/* Setting image. */
buttonGame.SetImage(imgGame);
buttonGame.SetPosition(225,200);