SFML community forums
Help => Graphics => Topic started by: heishe on June 23, 2009, 02:21:01 am
-
following code still displays the whole sprite:
spr.SetSubRect(sf::IntRect(0,0,80,80);
window->Draw(spr);
why?
-
What is the size of the image? Can you show a complete (and short) source code that reproduces the problem?
-
nevermind, coding at 4.50 am when your brain is not working properly probably isn't that much of a good idea.