I'm having problems copying an image to another.
sf::Image texture;
if(!texture.LoadFromFile(fname)) return false;
sf::Image subtexture;
subtexture.Copy(texture, 0, 0, sf::IntRect(x, y, width, height), true);
Console shows that I am trying to access an empty image, but texture was successfull loaded... I am using SFML2, last version, W7.
Any idea why?